From 46ae6deeba0ad54c29e2374a7c7c54ea74640106 Mon Sep 17 00:00:00 2001 From: afonso Date: Sat, 1 Jun 2024 04:02:34 +0100 Subject: [PATCH] [nvim] Lazy load LSP --- .config/nvim/lua/plugins/lsp.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 520a846..02d2825 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -6,6 +6,7 @@ return { }, { "williamboman/mason.nvim", + event = "VeryLazy", config = function() local mason = require("mason") vim.api.nvim_create_augroup("_mason", { clear = true }) @@ -35,6 +36,7 @@ return { }, { "williamboman/mason-lspconfig.nvim", + event = "VeryLazy", dependencies = { "williamboman/mason.nvim" },