diff options
Diffstat (limited to '.config/nvim/lua/custom/chadrc.lua')
-rw-r--r-- | .config/nvim/lua/custom/chadrc.lua | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.config/nvim/lua/custom/chadrc.lua b/.config/nvim/lua/custom/chadrc.lua index 3880b87..a5de99c 100644 --- a/.config/nvim/lua/custom/chadrc.lua +++ b/.config/nvim/lua/custom/chadrc.lua @@ -1,5 +1,6 @@ -- 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 userPlugins = require "custom.plugins" local M = {} -- M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} @@ -12,19 +13,21 @@ local M = {} -- examples of setting relative number & changing theme: M.options = { - relativenumber = true, - expandtab = false, - smartindent = false, - tabstop = 4, + relativenumber = true, + expandtab = false, + shiftwidth = 4, + smartindent = false, + tabstop = 4, } M.ui = { - theme = "chadracula", - transparency = true, + theme = "chadracula", + transparency = true, } -- NvChad included plugin options & overrides M.plugins = { + install = userPlugins, options = { -- lspconfig = { -- path of file containing setups of different lsps (ex : "custom.plugins.lspconfig"), read the docs for more info |