mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
breaking change for option overriders | rm un-necessary things from config
Put all your options in custom/init.lua
This commit is contained in:
parent
6f0aa376a8
commit
6a789fa37d
3 changed files with 2 additions and 8 deletions
|
@ -1,3 +1,3 @@
|
|||
-- example file i.e lua/custom/init.lua
|
||||
|
||||
-- load your globals, autocmds here or anything .__.
|
||||
-- load your options globals, autocmds here or anything .__.
|
||||
-- you can even override default options here (core/options.lua)
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
local M = {}
|
||||
|
||||
M.options = {
|
||||
-- load your options here or load module with options
|
||||
user = function() end,
|
||||
|
||||
nvChad = {
|
||||
update_url = "https://github.com/NvChad/NvChad",
|
||||
update_branch = "main",
|
||||
|
|
|
@ -104,6 +104,3 @@ vim.schedule(function()
|
|||
vim.opt.shadafile = vim.fn.expand "$HOME" .. "/.local/share/nvim/shada/main.shada"
|
||||
vim.cmd [[ silent! rsh ]]
|
||||
end)
|
||||
|
||||
-- load user options
|
||||
config.options.user()
|
||||
|
|
Loading…
Reference in a new issue