diff options
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 02e8832a..54229aa7 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -925,6 +925,15 @@ au BufNewFile,BufRead *.timer set filetype=systemd endif +" ftdetect/terraform.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1 + +au BufRead,BufNewFile *.tf setlocal filetype=terraform +au BufRead,BufNewFile *.tfvars setlocal filetype=terraform +au BufRead,BufNewFile *.tfstate setlocal filetype=javascript + +endif + " ftdetect/textile.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'textile') == -1 |