diff --git a/lua/plugins/50-lsp.lua b/lua/plugins/50-lsp.lua index ab16958..e051f27 100644 --- a/lua/plugins/50-lsp.lua +++ b/lua/plugins/50-lsp.lua @@ -48,7 +48,8 @@ return { "hrsh7th/cmp-cmdline", "L3MON4D3/LuaSnip", }, - event = "VeryLazy", + event = { "BufReadPre", "BufNewFile" }, + cmd = { "LspInfo", "LspInstall", "LspUninstall" }, config = function (_, opts) local capabilities = require("cmp_nvim_lsp").default_capabilities()