NvChad / ui

Lightweight & high performance UI plugin for nvchad
GNU General Public License v3.0
295 stars 135 forks source link
neovim neovim-plugin neovim-plugin-lua nvchad ui

NvChad UI Plugin

This ui plugin is a collection of many UI modules like statusline, tabline, cheatsheet, nvdash and much more!

Install

In your plugins file

 "nvim-lua/plenary.nvim",

 {
   "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 once
 for _, v in ipairs(vim.fn.readdir(vim.g.base46_cache)) do
   dofile(vim.g.base46_cache .. v)
 end

List of Features with screenshots

Tabufline

NvChad - Maintain buffers per tab! ( tabufline ) | Neovim [V_9iJ96U_k8].webm

Statusline

nvchad statusline

Term

Lsp Signature

image

Lsp Variable Renamer

image

Colorify

image image image

Nvdash

nvdash

Cmp styles

image image image image image image image

Modern Theme Picker

image

NvCheatsheet

Automatic Mason install

require("lspconfig").html.setup{}
require("lspconfig").clangd.setup{}

Then running MasonInstallAll will install both the mason pkgs

check :h nvui.mason for more info

Credits

:gift_heart: Support

If you like NvChad or its plugins and would like to support it via donation

kofi paypal buymeacoffee patreon