config/nvim/ftdetect/hcl.vim (view raw)
1 2 3 4 5 6 7 8
autocmd BufNewFile,BufRead *.hcl set filetype=hcl " Nomad autocmd BufNewFile,BufRead *.nomad set filetype=hcl " Terraform autocmd BufNewFile,BufRead *.tf set filetype=hcl autocmd BufNewFile,BufRead *.tfvars set filetype=hcl