mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 18:59:00 +02:00
fix(terraform): configure commentstring (#1171)
This commit is contained in:
parent
d71ebeab24
commit
e5f53ee193
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = { "hcl", "terraform" },
|
||||||
|
desc = "terraform/hcl commentstring configuration",
|
||||||
|
command = "setlocal commentstring=#\\ %s",
|
||||||
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue