From ab1a663f975beea8b9a5a2211aa087d85d2d08bc Mon Sep 17 00:00:00 2001 From: siraphob-api Date: Mon, 5 Feb 2024 12:36:39 +0700 Subject: [PATCH] Add .yml pattern matching in ftdetect --- ftdetect/helm.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftdetect/helm.vim b/ftdetect/helm.vim index 32de6a1..f3fefcf 100644 --- a/ftdetect/helm.vim +++ b/ftdetect/helm.vim @@ -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\ */}}