diff --git a/nvim/.config/nvim/lua/plugins/ide.lua b/nvim/.config/nvim/lua/plugins/ide.lua index 1b67847..beb93cb 100644 --- a/nvim/.config/nvim/lua/plugins/ide.lua +++ b/nvim/.config/nvim/lua/plugins/ide.lua @@ -59,7 +59,8 @@ return { "WhoIsSethDaniel/mason-tool-installer.nvim", }, }, - event = "BufReadPost", + event = { "BufRead", "BufNewFile", "InsertEnter" }, + after = { "nvim-cmp" }, config = function() require("plugins.config.lsp") end, @@ -232,7 +233,7 @@ return { config = function() require("plugins.config.cmp") end, - event = { "InsertEnter", "CmdlineEnter", "VeryLazy" }, + event = { "InsertEnter", "CmdlineEnter" }, }, -- loading animations for some LSP diff --git a/nvim/.config/nvim/lua/plugins/prose.lua b/nvim/.config/nvim/lua/plugins/prose.lua index 3c28be9..5dbb327 100644 --- a/nvim/.config/nvim/lua/plugins/prose.lua +++ b/nvim/.config/nvim/lua/plugins/prose.lua @@ -3,9 +3,7 @@ local writing_ft = { "quarto", "pandoc", "markdown", "text", "tex" } local prose_plugs = { -- UI improvements -- provide distraction free writing - { "folke/zen-mode.nvim", config = true, event = "VeryLazy" }, - -- provide even distraction free-er writing (lowlight paragraphs) - { "folke/twilight.nvim", event = "VeryLazy" }, + { "folke/zen-mode.nvim", config = true, cmd = { "ZenMode" }, dependencies = { "folke/twilight.nvim" } }, { "andrewferrier/wrapping.nvim", config = function()