Add .yml pattern matching in ftdetect

This commit is contained in:
siraphob-api
2024-02-05 12:36:39 +07:00
committed by GitHub
parent fc2259e1f8
commit ab1a663f97
+1 -1
View File
@@ -1,4 +1,4 @@
autocmd BufRead,BufNewFile */templates/*.yaml,*/templates/*.tpl,*.gotmpl,helmfile*.yaml set ft=helm
autocmd BufRead,BufNewFile */templates/*.{yaml,yml},*/templates/*.tpl,*.gotmpl,helmfile*.{yaml,yml} set ft=helm
" Use {{/* */}} as comments
autocmd FileType helm setlocal commentstring={{/*\ %s\ */}}