Take your own time in migrating to v2.0. This release is in a separate branch so technically you can still use old NvChad.
To use v2.0, you have to delete all old Neovim dirs (backup custom dir) and then re-install NvChad again
M.plugins
variable in chadrc expects a string now instead of table.-- before
M.plugins = require "custom.plugins"
-- now
M.plugins = "custom.plugins"
Rename your custom plugins dir to something else, like configs etc. It shouldnt be "plugins" (as per our example) and update the path in your custom plugins table.
Also old plugin syntax has some slight changes now (as per lazy.nvim's syntax)
-- before
["some plugin" ] = { options }
-- now
{
"some plugin",
options
}
override_opts
which was used to overridin default plugin configs is now opts
-- before
["NvChad/ui"] = {
override_opts = {
statusline = {
separator_style = "round"
}
}
}
-- now
M.ui = {
statusline = {
separator_style = "round"
}
}
Some mappings and commands have been removed. However their functions still exist, just make your own commands/mappings for them. Read our api functions docs.
Removed commands
Removed mappings
\
(to trigger tbufpick).leader + tt
(for toggling themes)