From 0136756aa9783ce60b48302c434c5bc4e5dd5bc5 Mon Sep 17 00:00:00 2001 From: theimpostor Date: Fri, 27 Apr 2018 10:12:07 -0500 Subject: [PATCH] Convert to plugin --- README.md | 5 +++-- ftdetect/helm.vim | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 ftdetect/helm.vim diff --git a/README.md b/README.md index d851c47..e2ee0f2 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 'theimpostor/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