diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index f23e2ca..4a988d7 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -11,11 +11,9 @@ return { -- color scheme { "folke/tokyonight.nvim", - lazy = true, - -- opts = { style = "moon" }, -- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764", - --lazy = false, -- make sure we load this during startup if it is your main colorscheme - --priority = 1000, -- make sure to load this before all the other start plugins + lazy = true, -- make sure we load this during startup if it is your main colorscheme + -- priority = 1000, -- make sure to load this before all the other start plugins config = function() local is_transparant = false if is_transparant then @@ -156,7 +154,7 @@ return { }, { "hrsh7th/cmp-cmdline", - config = function() + init = function() require("user.cmdline") end, }, @@ -416,18 +414,6 @@ return { { "stevearc/dressing.nvim", event = "BufWinEnter", - init = function() - ---@diagnostic disable-next-line: duplicate-set-field - vim.ui.select = function(...) - require("lazy").load({ plugins = { "dressing.nvim" } }) - return vim.ui.select(...) - end - ---@diagnostic disable-next-line: duplicate-set-field - vim.ui.input = function(...) - require("lazy").load({ plugins = { "dressing.nvim" } }) - return vim.ui.input(...) - end - end, config = function() require("user.dressing") end,