AutoYADM commit: 2024-12-11 17:35:03

This commit is contained in:
Daniel Fichtinger 2024-12-11 17:35:03 -05:00
parent 8618e4aba1
commit 9ed61f1035

View file

@ -21,7 +21,8 @@ local harperSettings = {
terminating_conjunctions = true, terminating_conjunctions = true,
}, },
} }
return { local enabled = false
local spec = {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
@ -39,7 +40,17 @@ return {
}, },
}, },
{ {
"williamboman/mason.nvim", "williamboman/mason-lspconfig.nvim",
opts = { ensure_installed = { "harper-ls" } }, opts = { ensure_installed = { "harper_ls" } },
}, },
} }
if enabled then
return spec
else
return {
"williamboman/mason-lspconfig.nvim",
config = function()
vim.cmd("LspUninstall harper_ls")
end,
}
end