diff --git a/lua/lazyvim/plugins/extras/lang/terraform.lua b/lua/lazyvim/plugins/extras/lang/terraform.lua index 5ab58f86..43d30935 100644 --- a/lua/lazyvim/plugins/extras/lang/terraform.lua +++ b/lua/lazyvim/plugins/extras/lang/terraform.lua @@ -58,9 +58,10 @@ return { { "nvim-telescope/telescope.nvim", optional = true, - dependencies = { + specs = { { "ANGkeith/telescope-terraform-doc.nvim", + ft = { "terraform", "hcl" }, config = function() LazyVim.on_load("telescope.nvim", function() require("telescope").load_extension("terraform_doc") @@ -69,6 +70,7 @@ return { }, { "cappyzawa/telescope-terraform.nvim", + ft = { "terraform", "hcl" }, config = function() LazyVim.on_load("telescope.nvim", function() require("telescope").load_extension("terraform")