From 5d8004c2f9d4ea44d27b9a74f57ff68606288992 Mon Sep 17 00:00:00 2001 From: Harm-Jan Blok Date: Wed, 24 Dec 2025 11:25:25 +0100 Subject: [PATCH] Add recommended; remove ensure_installed --- lua/lazyvim/plugins/extras/lang/opentofu.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/opentofu.lua b/lua/lazyvim/plugins/extras/lang/opentofu.lua index d7ebc258..cc7a9472 100644 --- a/lua/lazyvim/plugins/extras/lang/opentofu.lua +++ b/lua/lazyvim/plugins/extras/lang/opentofu.lua @@ -5,6 +5,13 @@ vim.filetype.add({ }) return { + recommended = function() + return LazyVim.extras.wants({ + ft = "hcl", + root = ".tofu", + }) + end, + { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) @@ -21,10 +28,6 @@ return { }, }, }, - { - "mason-org/mason.nvim", - opts = { ensure_installed = { "tofu-ls" } }, - }, { "nvimtools/none-ls.nvim", optional = true,