diff --git a/.config/nvim/lua/plugins/harper.lua b/.config/nvim/lua/plugins/harper.lua index 9cd54a83..0b708965 100644 --- a/.config/nvim/lua/plugins/harper.lua +++ b/.config/nvim/lua/plugins/harper.lua @@ -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 diff --git a/.config/nvim/lua/plugins/vim-dirtytalk.lua b/.config/nvim/lua/plugins/vim-dirtytalk.lua index 5dd8b698..5d5601dc 100644 --- a/.config/nvim/lua/plugins/vim-dirtytalk.lua +++ b/.config/nvim/lua/plugins/vim-dirtytalk.lua @@ -12,6 +12,4 @@ return { end o.spelllang = current end, - -- Note: let g:dirtytalk_blacklist=['lorem-ipsum'] to disable a wordlist - -- Mus run :DirtytalkUpdate after making this change }