diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-13 19:10:00 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-03-13 19:10:00 +0100 |
commit | b64747cef4f83c18ce3a4ad8f36ab70fe591c69a (patch) | |
tree | d064707f8b0f60998fec73f0e2a70fc66330ad53 /.config/nvim/lua/plugins.lua | |
parent | 0608d79fd8992d93508f571a6d4278e4b0335f4a (diff) |
nvim: lil more lazy load
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-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" |