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 enabled = false
local har = ""
if enabled then
har = "harper_ls"
end
local spec = { local spec = {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
@ -41,16 +45,13 @@ local spec = {
}, },
{ {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
opts = { ensure_installed = { "harper_ls" } }, opts = { ensure_installed = { har } },
}, },
} }
if enabled then if enabled then
return spec return spec
else else
return { return {
"williamboman/mason-lspconfig.nvim", "neovim/nvim-lspconfig",
config = function()
vim.cmd("LspUninstall harper_ls")
end,
} }
end end

View file

@ -12,6 +12,4 @@ return {
end end
o.spelllang = current o.spelllang = current
end, end,
-- Note: let g:dirtytalk_blacklist=['lorem-ipsum'] to disable a wordlist
-- Mus run :DirtytalkUpdate after making this change
} }