summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-25 14:26:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-25 14:26:38 +0200
commit080b8cdc603b059db2d9e6f56e3f724418f9366a (patch)
tree5543d38bca963ee1597c619b70ff7d7f87a751d0 /ftdetect
parente47af23f64e4c02ab85080e94c23e57b3f66ecda (diff)
downloadvim-polyglot-080b8cdc603b059db2d9e6f56e3f724418f9366a.tar.gz
vim-polyglot-080b8cdc603b059db2d9e6f56e3f724418f9366a.zip
Fix ansible ftdetect
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 2271f1ed..75e8c60e 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1291,12 +1291,12 @@ if index(g:polyglot_disabled, 'ansible') == -1
au BufNewFile,BufRead group_vars/* set ft=yaml.ansible
au BufNewFile,BufRead handlers.*.ya?ml set ft=yaml.ansible
au BufNewFile,BufRead host_vars/* set ft=yaml.ansible
- au BufNewFile,BufRead local.ya?ml set ft=yaml.ansible
- au BufNewFile,BufRead main.ya?ml set ft=yaml.ansible
- au BufNewFile,BufRead playbook.ya?ml set ft=yaml.ansible
- au BufNewFile,BufRead requirements.ya?ml set ft=yaml.ansible
+ au BufNewFile,BufRead local.y{a,}ml set ft=yaml.ansible
+ au BufNewFile,BufRead main.y{a,}ml set ft=yaml.ansible
+ au BufNewFile,BufRead playbook.y{a,}ml set ft=yaml.ansible
+ au BufNewFile,BufRead requirements.y{a,}ml set ft=yaml.ansible
au BufNewFile,BufRead roles.*.ya?ml set ft=yaml.ansible
- au BufNewFile,BufRead site.ya?ml set ft=yaml.ansible
+ au BufNewFile,BufRead site.y{a,}ml set ft=yaml.ansible
au BufNewFile,BufRead tasks.*.ya?ml set ft=yaml.ansible
endif