nvchad/lua/core/default_config.lua
siduck 4f1ee6ec8f Breaking change for statusline_separator field users | optimize statusline & make it overridable
added cmd fields for various plugins for example lspinstaller+lspconfig gets loaded only when a file opened but their commands can be run before a file is opened so I additionally lazy loaded them on their cmds too
2022-06-19 13:43:11 +05:30

48 lines
956 B
Lua

-- IMPORTANT NOTE : This is default config, so dont change anything here.
-- chadrc overrides this file
local M = {}
M.options = {
-- load your options here or load module with options
user = function() end,
nvChad = {
update_url = "https://github.com/NvChad/NvChad",
update_branch = "main",
},
}
M.ui = {
-- hl = highlights
hl_add = {},
hl_override = {},
changed_themes = {},
theme_toggle = { "onedark", "one_light" },
theme = "onedark", -- default theme
transparency = false,
statusline = {
separator_style = "default", -- default/round/block/arrow
config = "%!v:lua.require'ui.statusline'.run()",
override = {},
},
}
M.plugins = {
override = {},
remove = {},
user = {},
options = {
lspconfig = {
setup_lspconf = "", -- path of lspconfig file
},
},
}
-- check core.mappings for table structure
M.mappings = require "core.mappings"
return M