From 73b1ce731e397bd667b6b1de3396555478f781ea Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 13 Mar 2022 19:10:00 +0100 Subject: nvim: lil more lazy load --- .config/nvim/lua/plugins.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index a2daf8a..b1054b3 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -69,7 +69,10 @@ local plugins = { -- lsp stuff - { "neovim/nvim-lspconfig" }, + { + "neovim/nvim-lspconfig", + event = { "BufRead" , "BufNewFile" }, + }, { "williamboman/nvim-lsp-installer", @@ -82,7 +85,6 @@ local plugins = { { "ray-x/lsp_signature.nvim", after = "nvim-lspconfig", - event = 'InsertEnter', config = function() require "setup.lsp_signature" end @@ -124,7 +126,6 @@ local plugins = { { "windwp/nvim-autopairs", - -- event = { "BufRead" , "BufNewFile" }, after = "nvim-cmp", config = function() require('nvim-autopairs').setup{} @@ -138,7 +139,6 @@ local plugins = { { "b3nj5m1n/kommentary", - -- event = { "BufRead" , "BufNewFile" }, keys = { "gcc", "gc" }, config = function() require "setup.kommentary" -- cgit v1.2.3-70-g09d2