summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-25 14:28:44 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-25 14:28:44 +0200
commit94ababe91fe046dae624b43ed566255823474052 (patch)
tree13aea1e19dcc3e4952e0803edc5af0b7c4466c5e /ftdetect
parent080b8cdc603b059db2d9e6f56e3f724418f9366a (diff)
downloadvim-polyglot-94ababe91fe046dae624b43ed566255823474052.tar.gz
vim-polyglot-94ababe91fe046dae624b43ed566255823474052.zip
Fix ansible ftdetect
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 75e8c60e..edb884a6 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1289,15 +1289,15 @@ if index(g:polyglot_disabled, 'ansible') == -1
au BufNewFile,BufRead *.asl set ft=yaml.ansible
au BufNewFile,BufRead *.dsl set ft=yaml.ansible
au BufNewFile,BufRead group_vars/* set ft=yaml.ansible
- au BufNewFile,BufRead handlers.*.ya?ml set ft=yaml.ansible
+ au BufNewFile,BufRead handlers.*.y{a,}ml set ft=yaml.ansible
au BufNewFile,BufRead host_vars/* 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 roles.*.y{a,}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
+ au BufNewFile,BufRead tasks.*.y{a,}ml set ft=yaml.ansible
endif
if index(g:polyglot_disabled, 'helm') == -1