aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/filetype.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 7852c37e..1f1686e1 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -443,7 +443,8 @@ augroup filetypedetect
\ setfiletype yacc
" YAML files
autocmd BufNewFile,BufRead
- \ ?*.yaml
+ \ ?*.yml
+ \,?*.yaml
\ setfiletype yaml
" Z shell files
autocmd BufNewFile,BufRead