From 21849c2e18c6ecedd13d09d12748407614286c5c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 4 Sep 2019 15:45:55 +0200 Subject: Add helm syntax, closes #422 --- ftdetect/polyglot.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index d326ac02..3b9306d7 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -560,6 +560,13 @@ autocmd BufNewFile,BufRead Appfile set filetype=hcl augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'helm') == -1 + augroup filetypedetect + " helm, from helm.vim in towolf/vim-helm +autocmd BufRead,BufNewFile */templates/*.yaml,*/templates/*.tpl set ft=helm + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hive') == -1 augroup filetypedetect " hive, from hive.vim in zebradil/hive.vim -- cgit v1.2.3