no need to wrap options module in config func

This commit is contained in:
siduck 2024-08-07 19:26:13 +05:30
parent 36b143653a
commit 0c7d9cefa9

View File

@ -20,9 +20,6 @@ require("lazy").setup({
lazy = false, lazy = false,
branch = "v2.5", branch = "v2.5",
import = "nvchad.plugins", import = "nvchad.plugins",
config = function()
require "options"
end,
}, },
{ import = "plugins" }, { import = "plugins" },
@ -32,6 +29,7 @@ require("lazy").setup({
dofile(vim.g.base46_cache .. "defaults") dofile(vim.g.base46_cache .. "defaults")
dofile(vim.g.base46_cache .. "statusline") dofile(vim.g.base46_cache .. "statusline")
require "options"
require "nvchad.autocmds" require "nvchad.autocmds"
vim.schedule(function() vim.schedule(function()