diff --git a/lua/plugins.lua b/lua/plugins.lua index 6c7eb97..b159259 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -93,19 +93,22 @@ packer.startup { -- Built-In LSP Config use { 'neovim/nvim-lspconfig', + event = 'BufRead', config = function() require'configs.lsp'.config() end } -- LSP EZ Installer use { 'williamboman/nvim-lsp-installer', - after = 'cmp-nvim-lsp', + after = { 'cmp-nvim-lsp', 'nvim-lspconfig' }, + event = 'BufRead', config = function() require'configs.lsp-installer'.config() end } -- Formatting + Linting use { 'jose-elias-alvarez/null-ls.nvim', + event = 'BufRead', config = function() require'configs.null-ls'.config() end }