summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-03-13 19:10:00 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2022-03-13 19:10:00 +0100
commitb64747cef4f83c18ce3a4ad8f36ab70fe591c69a (patch)
treed064707f8b0f60998fec73f0e2a70fc66330ad53 /.config/nvim/lua
parent0608d79fd8992d93508f571a6d4278e4b0335f4a (diff)
nvim: lil more lazy load
Diffstat (limited to '.config/nvim/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"