summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:45:55 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:45:55 +0200
commit21849c2e18c6ecedd13d09d12748407614286c5c (patch)
tree94c4c102603e376369e94b2795459417c0596d41 /ftdetect
parent664aa988f6d9cdb7b75218666fbe348c85ef8b29 (diff)
downloadvim-polyglot-21849c2e18c6ecedd13d09d12748407614286c5c.tar.gz
vim-polyglot-21849c2e18c6ecedd13d09d12748407614286c5c.zip
Add helm syntax, closes #422
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim7
1 files changed, 7 insertions, 0 deletions
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