NeoVim Tips
Posted on November 13, 2025 • 2 min read • 215 wordsColor palette
When using NvChad, color palette is provided by NvChad/base46.
Themes define the actual RGB hex value of each “abstract color”. Integration maps “abstract colors” to highlight groups of NeoVim and various plugins.
To override highlight group colors, do it in chadrc.lua.
After update, run :lua require("base46").load_all_highlights() to re-compute the color files.
Otherwise, colors won’t update even after restarting NeoVim.
:help nvui.base46 shows the NvChad/base46 help page.
Poke at the actual runtime path
:lua vim.tbl_map(print, vim.opt.rtp:get())We get the following output.
~/.config/nvim
~/.local/share/nvim/lazy/lazy.nvim
~/.local/share/nvim/lazy/conform.nvim
~/.local/share/nvim/lazy/nvim-lspconfig
~/.local/share/nvim/lazy/indent-blankline.nvim
~/.local/share/nvim/lazy/gitsigns.nvim
~/.local/share/nvim/lazy/nvim-autopairs
~/.local/share/nvim/lazy/LuaSnip
~/.local/share/nvim/lazy/friendly-snippets
~/.local/share/nvim/lazy/blink.cmp
~/.local/share/nvim/lazy/nvim-web-devicons
~/.local/share/nvim/lazy/nvim-tree.lua
~/.local/share/nvim/lazy/ui
~/.local/share/nvim/lazy/which-key.nvim
~/.local/share/nvim/lazy/nvim-treesitter
~/.local/share/nvim/lazy/NvChad
/opt/homebrew/Cellar/neovim/0.11.5/share/nvim/runtime
/opt/homebrew/Cellar/neovim/0.11.5/lib/nvim
~/.local/state/nvim/lazy/readme
~/.local/share/nvim/lazy/indent-blankline.nvim/afterlazy.nvim seems to have a special Lua
package loader that goes through all folders
in the above list and looks at the lua subfolder within. Every require’d Lua modules
is from such a lua subfolder.
The order is important.
~/.config/nvim is first, so my configurations always have the highest priority.
Then all the ~/.local/share/nvim/lazy/* are plugin folders, each corresponding
to the project root of the plugin’s GitHub repo.
/opt/homebrew/Cellar/neovim/0.11.5/share/nvim/runtime and /opt/homebrew/Cellar/neovim/0.11.5/lib/nvim are like the “standard library” of NeoVim.
The rest are some **/after folders that serve a special purpose.
Inspect a user-created command
:verbose command MasonInstallAllThis shows where the command is installed. It reveals that :MasonInstallAll is defined in
NvChad/ui under
nvchad/au.lua.