[nvim] Lazy load LSP
This commit is contained in:
parent
a8628abfa9
commit
46ae6deeba
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue