all repos — dotfiles @ c8063e710115d077769c36ff9643d65bd12ea11c

linux dotfiles

nvim: update ftdetect
Prithu Goswami pg@prithu.dev
Fri, 26 Apr 2024 19:40:59 +0530
commit

c8063e710115d077769c36ff9643d65bd12ea11c

parent

b174eecbd0529dde6b921429a6488ac7ea5720c3

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M config/nvim/ftdetect/hcl.vimconfig/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