diff --git a/README.md b/README.md index d851c47..4daf942 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # vim-helm vim syntax for helm templates (yaml + gotmpl + sprig + custom) -Enable syntax using a definition like this: +Install via vundle: + ```vim -autocmd BufRead,BufNewFile */templates/*.yaml,*/templates/*.tpl set ft=helm +Plugin 'towolf/helm-vim' ``` diff --git a/ftdetect/helm.vim b/ftdetect/helm.vim new file mode 100644 index 0000000..9a502ac --- /dev/null +++ b/ftdetect/helm.vim @@ -0,0 +1 @@ +autocmd BufRead,BufNewFile */templates/*.yaml,*/templates/*.tpl set ft=helm