diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-02-11 16:33:32 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-02-11 16:33:32 +0000 |
commit | 4417eb0a77892f4b24eeb5adc97b8890f14187fb (patch) | |
tree | afae6a2e2f7b9c0ceb5109d8c5f4fd33df994d4d /.config/nvim/lua/custom/chadrc.lua | |
parent | f8acb4edc93d2570856381eb7fb6f75db3955cf6 (diff) | |
download | dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.gz dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.bz2 dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.lz dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.xz dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.tar.zst dotfiles-4417eb0a77892f4b24eeb5adc97b8890f14187fb.zip |
Update NvChad config
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/custom/chadrc.lua | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.config/nvim/lua/custom/chadrc.lua b/.config/nvim/lua/custom/chadrc.lua index bc4b88e..a5de99c 100644 --- a/.config/nvim/lua/custom/chadrc.lua +++ b/.config/nvim/lua/custom/chadrc.lua @@ -1,8 +1,9 @@ -- 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 = {}, {}, {}, {} +-- M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} -- NOTE: To use this, make a copy with `cp example_chadrc.lua chadrc.lua` @@ -11,16 +12,22 @@ M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} -- To use this file, copy the structure of `core/default_config.lua`, -- examples of setting relative number & changing theme: --- M.options = { --- relativenumber = true, --- } +M.options = { + relativenumber = true, + expandtab = false, + shiftwidth = 4, + smartindent = false, + tabstop = 4, +} M.ui = { - theme = "chadracula" + 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 |