nvim: update ftdetect
Prithu Goswami pg@prithu.dev
Fri, 26 Apr 2024 19:40:59 +0530
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
config/nvim/ftdetect/hcl.vim
→
config/nvim/ftdetect/hcl.vim
@@ -1,3 +1,4 @@
+silent! autocmd! filetypedetect BufRead,BufNewFile *.tf autocmd BufNewFile,BufRead *.hcl set filetype=hcl " Nomad@@ -6,3 +7,4 @@
" Terraform autocmd BufNewFile,BufRead *.tf set filetype=hcl autocmd BufNewFile,BufRead *.tfvars set filetype=hcl +autocmd BufRead,BufNewFile *.tfstate,*.tfstate.backup set filetype=json