Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork160
Lightweight & high performance UI plugin for nvchad
License
NotificationsYou must be signed in to change notification settings
NvChad/ui
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This ui plugin is a collection of many UI modules like statusline, tabline, cheatsheet, nvdash and much more!
- Docs at
:h nvui
- Create
lua/chadrc.lua
file that returns a table, can be empty table too. - Table structure must be same asnvconfig.lua
In your plugins file
"nvim-lua/plenary.nvim", {"nvim-tree/nvim-web-devicons",lazy=true }, {"nvchad/ui",config=function()require"nvchad"end }, {"nvchad/base46",lazy=true,build=function()require("base46").load_all_highlights()end, },"nvchad/volt",-- optional, needed for theme switcher-- or just use Telescope themes
Base46 setup
-- put this in your main init.lua file ( before lazy setup )vim.g.base46_cache=vim.fn.stdpath"data".."/base46_cache/"-- put this after lazy setup-- (method 1, For heavy lazyloaders)dofile(vim.g.base46_cache.."defaults")dofile(vim.g.base46_cache.."statusline")-- (method 2, for non lazyloaders) to load all highlights at oncefor_,vinipairs(vim.fn.readdir(vim.g.base46_cache))dodofile(vim.g.base46_cache..v)end
- Mix of tabline & bufferline.
- Each tab will have its own set of buffers stored, and the tabufline will show those only.
- Think of it like workspaces on Linux/Windows where windows stay in their own workspaces, but in vim buffers from all tabs will be shown in every tab!
NvChad.-.Maintain.buffers.per.tab.tabufline.Neovim.V_9iJ96U_k8.webm
- Statusline with 4 different styles
- Create, toggle terminals with cmd, window options ( can also be used to color each term window differently! )
- Manage code runner
- ( :Telescope terms ) to unhideterminal buffers leader + pt.
- Minimal signature window (50 LOC ~), just uses
vim.lsp.buf.signature_help
on some autocmds.
- Used for renaming
- Minimal colorizer module that colors hex colors and all LSP related variables etc ( useful for tailwind, css etc and every lsp that supports it )
- Just supports virtual text, fg, bg
- 150 ~ LOC Dashboard module, minimal & nothing fancy!
- A lot of cmp theming with base46!
- Do know that nvchad's base46 has like 68 themes, so dont judge the screenshots by colors!
- Support for Tailwind & Css LSP colors
- With 3 different styles : bordered, compact, flat
- Auto-generated mappings cheatsheet module, which has a similar layout to that of CSS's masonry layout.
- It has 2 themes ( grid & simple )
- MasonInstallAll command will now capture all the mason tools from your config
- Supported plugins are : lspconfig, nvim-lint, conform.nvim
- So for example if you have lspconfig like this :
require("lspconfig").html.setup{}require("lspconfig").clangd.setup{}
Then running MasonInstallAll will install both the mason pkgs
check:h nvui.mason
for more info
- Huge thanks to@lucario387 for creating
nvchad_types
.
If you like NvChad or its plugins and would like to support it via donation
About
Lightweight & high performance UI plugin for nvchad
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published