AutoYADM commit: 2024-12-11 17:35:03
This commit is contained in:
parent
8618e4aba1
commit
9ed61f1035
1 changed files with 14 additions and 3 deletions
|
@ -21,7 +21,8 @@ local harperSettings = {
|
|||
terminating_conjunctions = true,
|
||||
},
|
||||
}
|
||||
return {
|
||||
local enabled = false
|
||||
local spec = {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
|
@ -39,7 +40,17 @@ return {
|
|||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = { ensure_installed = { "harper-ls" } },
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue