Skip to content

Commit

Permalink
fix(terraform-extra): Drop unnecessary commentstring config for terra…
Browse files Browse the repository at this point in the history
…form (LazyVim#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.
  • Loading branch information
NeckBeardPrince authored and appelgriebsch committed Mar 20, 2024
1 parent 5da3a9e commit 767007b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lua/lazyvim/plugins/extras/lang/terraform.lua
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 767007b

Please sign in to comment.