summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 7aa94939..04353964 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -1944,6 +1944,7 @@ endif
if !has_key(g:polyglot_is_disabled, 'terraform')
au BufNewFile,BufRead *.tf,*.tfvars setf terraform
+ au BufNewFile,BufRead *.hcl,*.nomad,*.workflow,{.,}terraformrc,Appfile,terraform.rc setf hcl
endif
if !has_key(g:polyglot_is_disabled, 'tf')
@@ -2309,10 +2310,6 @@ if !has_key(g:polyglot_is_disabled, 'hive')
au BufNewFile,BufRead *.hql,*.q,*.ql setf hive
endif
-if !has_key(g:polyglot_is_disabled, 'hcl')
- au BufNewFile,BufRead *.hcl,*.nomad,*.workflow,Appfile setf hcl
-endif
-
if !has_key(g:polyglot_is_disabled, 'haxe')
au BufNewFile,BufRead *.hx,*.hxsl setf haxe
au BufNewFile,BufRead *.hxml setf hxml