fix(extras): lazy-load telescope-terraform plugins

This commit is contained in:
maddawik 2024-10-30 01:08:08 -04:00
parent 5efb88f44a
commit 76eeeb27f7

View file

@ -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")