From 0136756aa9783ce60b48302c434c5bc4e5dd5bc5 Mon Sep 17 00:00:00 2001 From: theimpostor Date: Fri, 27 Apr 2018 10:12:07 -0500 Subject: [PATCH 1/2] 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 From 1bb6bb7a1d78fc38c76e7757e58bd8839ac9792c Mon Sep 17 00:00:00 2001 From: theimpostor Date: Fri, 27 Apr 2018 10:13:18 -0500 Subject: [PATCH 2/2] Fix plugin address --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2ee0f2..4daf942 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,5 @@ vim syntax for helm templates (yaml + gotmpl + sprig + custom) Install via vundle: ```vim -Plugin 'theimpostor/helm-vim' +Plugin 'towolf/helm-vim' ```