diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2022-03-13 19:10:00 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-03-13 19:12:12 +0100 |
commit | 73b1ce731e397bd667b6b1de3396555478f781ea (patch) | |
tree | 04b5aa7b323bbe40463ea58e847fe921ddcd6ce7 | |
parent | 45c0961c32de021f9dc438860be439b344d93718 (diff) |
nvim: lil more lazy load
-rw-r--r-- | .config/nvim/lua/plugins.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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" |