AutoYADM commit: 2024-12-11 17:40:04

This commit is contained in:
Daniel Fichtinger 2024-12-11 17:40:04 -05:00
parent 9ed61f1035
commit 619dd343d5
2 changed files with 6 additions and 7 deletions

View file

@ -22,6 +22,10 @@ local harperSettings = {
},
}
local enabled = false
local har = ""
if enabled then
har = "harper_ls"
end
local spec = {
{
"neovim/nvim-lspconfig",
@ -41,16 +45,13 @@ local spec = {
},
{
"williamboman/mason-lspconfig.nvim",
opts = { ensure_installed = { "harper_ls" } },
opts = { ensure_installed = { har } },
},
}
if enabled then
return spec
else
return {
"williamboman/mason-lspconfig.nvim",
config = function()
vim.cmd("LspUninstall harper_ls")
end,
"neovim/nvim-lspconfig",
}
end