From b2ff4ae1561f86f49d8df62111c68faa8187812e Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 14 May 2025 18:25:56 +0200 Subject: Add an option to quickly disable any plugin --- lua/ache/plugins/lsp/ltex-extra.lua | 1 + lua/ache/plugins/lsp/rust-tools.lua | 1 + 2 files changed, 2 insertions(+) (limited to 'lua/ache/plugins/lsp') diff --git a/lua/ache/plugins/lsp/ltex-extra.lua b/lua/ache/plugins/lsp/ltex-extra.lua index d877dc4..d07bf7a 100644 --- a/lua/ache/plugins/lsp/ltex-extra.lua +++ b/lua/ache/plugins/lsp/ltex-extra.lua @@ -11,6 +11,7 @@ local ltex_ls_opts = { return { "barreiroleo/ltex_extra.nvim", + enabled = true, ft = { "markdown", "tex", "text" }, dependencies = { "neovim/nvim-lspconfig" }, -- Yes, you can use the opts field, just I'm showing the setup explicitly. diff --git a/lua/ache/plugins/lsp/rust-tools.lua b/lua/ache/plugins/lsp/rust-tools.lua index fe5c97e..6d76dce 100644 --- a/lua/ache/plugins/lsp/rust-tools.lua +++ b/lua/ache/plugins/lsp/rust-tools.lua @@ -3,6 +3,7 @@ --] return { "simrat39/rust-tools.nvim", + enabled = true, config = function() local rt = require("rust-tools") -- cgit v1.3-2-g11bf