From 9ef5db95039e1308a4b583131b42100d323fffd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Reegn?= Date: Thu, 8 Feb 2024 19:56:17 +0100 Subject: [PATCH] fix(extras): Drop unnecessary commentstring config for terraform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The commentstring for terraform and hcl files is now handled by nvim-ts-context-commentstring: https://github.com/JoosepAlviste/nvim-ts-context-commentstring/pull/94 Signed-off-by: Zoltán Reegn --- 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 ea7bd5de..0952140a 100644 --- a/lua/lazyvim/plugins/extras/lang/terraform.lua +++ b/lua/lazyvim/plugins/extras/lang/terraform.lua @@ -1,9 +1,3 @@ -vim.api.nvim_create_autocmd("FileType", { - pattern = { "hcl", "terraform" }, - desc = "terraform/hcl commentstring configuration", - command = "setlocal commentstring=#\\ %s", -}) - return { { "nvim-treesitter/nvim-treesitter",