aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/chadrc.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/custom/chadrc.lua')
-rw-r--r--.config/nvim/lua/custom/chadrc.lua17
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