feat: improve mappings, move custom/init.lua & chadrc.lua -> custom/example_init.lua & example_chadrc.lua
This commit is contained in:
parent
9961cc0113
commit
ee586047e5
4 changed files with 57 additions and 40 deletions
41
lua/custom/example_chadrc.lua
Normal file
41
lua/custom/example_chadrc.lua
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
-- IMPORTANT NOTE : This is the user config, can be edited. Will be preserved if updated with internal updater
|
||||
-- This file is for NvChad options & tools, custom settings are split between here and 'lua/custom/init.lua'
|
||||
|
||||
local M = {}
|
||||
M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {}
|
||||
|
||||
-- NOTE: To use this, make a copy with `cp example_chadrc.lua chadrc.lua`
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
-- To use this file, copy the strucutre of `core/default_config.lua`,
|
||||
-- examples of setting relative number & changing theme:
|
||||
|
||||
-- M.options = {
|
||||
-- relativenumber = true,
|
||||
-- }
|
||||
|
||||
-- M.ui = {
|
||||
-- theme = "nord"
|
||||
-- }
|
||||
|
||||
-- NvChad included plugin options & overrides
|
||||
M.plugins = {
|
||||
options = {
|
||||
-- lspconfig = {
|
||||
-- -- servers = {"html", "cssls"}
|
||||
-- servers = {},
|
||||
-- },
|
||||
},
|
||||
-- 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 = {
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue