vim/ftdetect/hcl.vim @ 61b4f1f3a9f1

More
author Steve Losh <steve@stevelosh.com>
date Thu, 04 Aug 2022 22:32:57 -0400
parents 13111f36fe96
children (none)
" vint: -ProhibitAutocmdWithNoGroup
" By default, Vim associates .tf files with TinyFugue - tell it not to.
silent! autocmd! filetypedetect BufRead,BufNewFile *.tf
autocmd BufRead,BufNewFile *.hcl set filetype=hcl
autocmd BufRead,BufNewFile .terraformrc,terraform.rc set filetype=hcl
autocmd BufRead,BufNewFile *.tf,*.tfvars set filetype=terraform
autocmd BufRead,BufNewFile *.tfstate,*.tfstate.backup set filetype=json