From b12e7424580d4b524755eec33006d4517fa3182e Mon Sep 17 00:00:00 2001 From: Adam Stracener <6558867+NeckBeardPrince@users.noreply.github.com> Date: Sat, 9 Mar 2024 01:59:44 -0600 Subject: [PATCH] fix(terraform-extra): Drop unnecessary commentstring config for terraform (#2680) * fix(terraform-extra): Drop unnecessary commentstring config for terraform The commentstring for terraform and hcl files is now handled by nvim-ts-context-commentstring: JoosepAlviste/nvim-ts-context-commentstring#94 * Fixed terraform.lua issues. I'm bad. --- lua/lazyvim/plugins/extras/lang/terraform.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/terraform.lua b/lua/lazyvim/plugins/extras/lang/terraform.lua index d486faaf..faa3c1e1 100644 --- a/lua/lazyvim/plugins/extras/lang/terraform.lua +++ b/lua/lazyvim/plugins/extras/lang/terraform.lua @@ -1,11 +1,5 @@ local Util = require("lazyvim.util") -vim.api.nvim_create_autocmd("FileType", { - pattern = { "hcl", "terraform" }, - desc = "terraform/hcl commentstring configuration", - command = "setlocal commentstring=#\\ %s", -}) - return { { "nvim-treesitter/nvim-treesitter",