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
|
@ -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)
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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()
|
|
||||||
|
|
Loading…
Reference in New Issue