From 4417eb0a77892f4b24eeb5adc97b8890f14187fb Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Fri, 11 Feb 2022 17:33:32 +0100 Subject: Update NvChad config --- .config/nvim/lua/custom/chadrc.lua | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to '.config/nvim/lua/custom/chadrc.lua') 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 -- cgit v1.2.3