mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 14:33:50 -05:00
Add terraform, closes #163
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user