2021-09-03 14:03:25 +00:00
|
|
|
-- IMPORTANT NOTE : This is the user config, can be edited. Will be preserved if updated with internal updater
|
2021-09-24 08:03:33 +00:00
|
|
|
-- This file is for NvChad options & tools, custom settings are split between here and 'lua/custom/init.lua'
|
2021-09-03 14:03:25 +00:00
|
|
|
|
|
|
|
local M = {}
|
2021-09-19 08:11:28 +00:00
|
|
|
M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {}
|
2021-09-03 14:03:25 +00:00
|
|
|
|
2021-09-24 08:03:33 +00:00
|
|
|
-- NOTE: To use this, make a copy with `cp example_chadrc.lua chadrc.lua`
|
|
|
|
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
|
2021-10-06 21:25:51 +00:00
|
|
|
-- To use this file, copy the structure of `core/default_config.lua`,
|
2021-09-24 08:03:33 +00:00
|
|
|
-- examples of setting relative number & changing theme:
|
2021-09-03 14:03:25 +00:00
|
|
|
|
|
|
|
-- M.options = {
|
|
|
|
-- relativenumber = true,
|
|
|
|
-- }
|
|
|
|
|
2021-09-24 08:03:33 +00:00
|
|
|
-- M.ui = {
|
|
|
|
-- theme = "nord"
|
|
|
|
-- }
|
2021-09-03 14:03:25 +00:00
|
|
|
|
2021-09-19 08:11:28 +00:00
|
|
|
-- NvChad included plugin options & overrides
|
|
|
|
M.plugins = {
|
2021-09-24 09:30:20 +00:00
|
|
|
options = {
|
2021-09-30 23:44:02 +00:00
|
|
|
-- lspconfig = {
|
|
|
|
-- path of file containing setups of different lsps (ex : "custom.plugins.lspconfig"), read the docs for more info
|
|
|
|
-- setup_lspconf = "",
|
|
|
|
-- },
|
2021-09-24 09:30:20 +00:00
|
|
|
},
|
|
|
|
-- To change the Packer `config` of a plugin that comes with NvChad,
|
|
|
|
-- add a table entry below matching the plugin github name
|
|
|
|
-- '-' -> '_', remove any '.lua', '.nvim' extensions
|
|
|
|
-- this string will be called in a `require`
|
|
|
|
-- use "(custom.configs).my_func()" to call a function
|
|
|
|
-- use "custom.blankline" to call a file
|
|
|
|
default_plugin_config_replace = {},
|
2021-09-19 08:11:28 +00:00
|
|
|
}
|
|
|
|
|
2021-09-03 14:03:25 +00:00
|
|
|
return M
|