Add terraform, closes #163

This commit is contained in:
Adam Stankiewicz
2017-02-02 21:44:42 +01:00
parent e685e4b431
commit 39036a553f
6 changed files with 755 additions and 0 deletions

View File

@@ -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