diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-07-08 11:54:15 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-07-08 11:54:15 +0200 |
commit | c794f186c0a618d2d4cdd5445d9ff20e6f640762 (patch) | |
tree | 11e6b01bac01b0ec694c8fa5c574870f5e268182 /autoload/polyglot | |
parent | 4f5388350be1052f610b830c8fce8fbc17370ec6 (diff) | |
download | vim-polyglot-c794f186c0a618d2d4cdd5445d9ff20e6f640762.tar.gz vim-polyglot-c794f186c0a618d2d4cdd5445d9ff20e6f640762.zip |
Update
Diffstat (limited to 'autoload/polyglot')
-rw-r--r-- | autoload/polyglot/init.vim | 5 | ||||
-rw-r--r-- | autoload/polyglot/sleuth.vim | 2 |
2 files changed, 2 insertions, 5 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 diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index d308561c..bf3166a4 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -217,7 +217,7 @@ let s:globs = { \ 'hastepreproc': '*.htpp', \ 'haxe': '*.hx,*.hxsl', \ 'hb': '*.hb', - \ 'hcl': '*.hcl,*.nomad,*.workflow,Appfile', + \ 'hcl': '*.hcl,*.nomad,*.workflow,Appfile,.terraformrc,terraform.rc', \ 'helm': '', \ 'help': '', \ 'hercules': '*.vc,*.ev,*.sum,*.errsum', |