From 619dd343d59dcba00beccef54d66222eb16bb711 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 11 Dec 2024 17:40:04 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-11 17:40:04 --- .config/nvim/lua/plugins/harper.lua | 11 ++++++----- .config/nvim/lua/plugins/vim-dirtytalk.lua | 2 -- 2 files changed, 6 insertions(+), 7 deletions(-) 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 }