breaking change for option overriders | rm un-necessary things from config

Put all your options in custom/init.lua
This commit is contained in:
siduck 2022-07-24 07:35:12 +00:00
parent 6f0aa376a8
commit 6a789fa37d
3 changed files with 2 additions and 8 deletions

View file

@ -1,3 +1,3 @@
-- example file i.e lua/custom/init.lua -- example file i.e lua/custom/init.lua
-- load your options globals, autocmds here or anything .__.
-- load your globals, autocmds here or anything .__. -- you can even override default options here (core/options.lua)

View file

@ -3,9 +3,6 @@
local M = {} local M = {}
M.options = { M.options = {
-- load your options here or load module with options
user = function() end,
nvChad = { nvChad = {
update_url = "https://github.com/NvChad/NvChad", update_url = "https://github.com/NvChad/NvChad",
update_branch = "main", update_branch = "main",

View file

@ -104,6 +104,3 @@ vim.schedule(function()
vim.opt.shadafile = vim.fn.expand "$HOME" .. "/.local/share/nvim/shada/main.shada" vim.opt.shadafile = vim.fn.expand "$HOME" .. "/.local/share/nvim/shada/main.shada"
vim.cmd [[ silent! rsh ]] vim.cmd [[ silent! rsh ]]
end) end)
-- load user options
config.options.user()