feat: add auto comment/uncomment for HCL files
This commit is contained in:
parent
e989c30911
commit
34078a0fa4
1 changed files with 6 additions and 0 deletions
6
after/ftplugin/hcl.lua
Normal file
6
after/ftplugin/hcl.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "terraform",
|
||||||
|
callback = function()
|
||||||
|
vim.bo.commentstring = "# %s"
|
||||||
|
end,
|
||||||
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue