[nvim] Lazy load LSP

This commit is contained in:
Afonso Franco 2024-06-01 04:02:34 +01:00
parent a8628abfa9
commit 46ae6deeba
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -6,6 +6,7 @@ return {
}, },
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
event = "VeryLazy",
config = function() config = function()
local mason = require("mason") local mason = require("mason")
vim.api.nvim_create_augroup("_mason", { clear = true }) vim.api.nvim_create_augroup("_mason", { clear = true })
@ -35,6 +36,7 @@ return {
}, },
{ {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
event = "VeryLazy",
dependencies = { dependencies = {
"williamboman/mason.nvim" "williamboman/mason.nvim"
}, },