summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua8
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"