2021-09-03 10:03:25 -04:00
|
|
|
-- IMPORTANT NOTE : This is the user config, can be edited. Will be preserved if updated with internal updater
|
2021-09-24 04:03:33 -04:00
|
|
|
-- This file is for NvChad options & tools, custom settings are split between here and 'lua/custom/init.lua'
|
2021-09-03 10:03:25 -04:00
|
|
|
|
|
|
|
local M = {}
|
2021-09-19 04:11:28 -04:00
|
|
|
M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {}
|
2021-09-03 10:03:25 -04:00
|
|
|
|
2021-09-24 04:03:33 -04:00
|
|
|
-- NOTE: To use this, make a copy with `cp example_chadrc.lua chadrc.lua`
|
|
|
|
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
|
2021-10-06 17:25:51 -04:00
|
|
|
-- To use this file, copy the structure of `core/default_config.lua`,
|
2021-09-24 04:03:33 -04:00
|
|
|
-- examples of setting relative number & changing theme:
|
2021-09-03 10:03:25 -04:00
|
|
|
|
|
|
|
-- M.options = {
|
|
|
|
-- relativenumber = true,
|
|
|
|
-- }
|
|
|
|
|
2021-09-24 04:03:33 -04:00
|
|
|
-- M.ui = {
|
|
|
|
-- theme = "nord"
|
|
|
|
-- }
|
2021-09-03 10:03:25 -04:00
|
|
|
|
2021-09-19 04:11:28 -04:00
|
|
|
-- NvChad included plugin options & overrides
|
|
|
|
M.plugins = {
|
2021-09-24 05:30:20 -04:00
|
|
|
options = {
|
2021-09-30 19:44:02 -04: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 05:30:20 -04: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 04:11:28 -04:00
|
|
|
}
|
|
|
|
|
2021-09-03 10:03:25 -04:00
|
|
|
return M
|