Remove ambiguity for terraform files, #570

This commit is contained in:
Adam Stankiewicz
2020-09-29 19:35:05 +02:00
parent 1872af2d5e
commit b5cc8fc336
3 changed files with 5 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ let s:globs = {
\ 'systemd': '*.automount,*.dnssd,*.link,*.mount,*.netdev,*.network,*.nspawn,*.path,*.service,*.slice,*.socket,*.swap,*.target,*.timer,*.#*',
\ 'tablegen': '*.td',
\ 'tads': '*.t',
\ 'terraform': '*.hcl,*.nomad,*.tf,*.tfvars,*.workflow',
\ 'terraform': '*.tf,*.tfvars',
\ 'textile': '*.textile',
\ 'thrift': '*.thrift',
\ 'tmux': '.tmux*.conf',

View File

@@ -1272,7 +1272,7 @@ if !has_key(s:disabled_packages, 'systemd')
endif
if !has_key(s:disabled_packages, 'terraform')
au BufNewFile,BufRead *.hcl,*.nomad,*.tf,*.tfvars,*.workflow set ft=terraform
au BufNewFile,BufRead *.tf,*.tfvars set ft=terraform
endif
if !has_key(s:disabled_packages, 'textile')

View File

@@ -1606,7 +1606,9 @@ name: terraform
remote: hashivim/vim-terraform
filetypes:
- name: terraform
linguist: HCL
extensions:
- tf
- tfvars
---
name: textile
remote: timcharper/textile.vim