summaryrefslogtreecommitdiff
path: root/compiler/helm.vim
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-04-24 22:21:57 +0200
committerMike Vink <mike.vink@stater.nl>2023-04-24 22:21:57 +0200
commitf80dcdd47c25e9f174f2e1ea8be341995ea2781f (patch)
tree5c77a519cd3ab43ef4bc5328043e9ccbfebec113 /compiler/helm.vim
parent6c815f47e3acef976e6e1bfc8cb40d8bda60bd5f (diff)
add helm linter
Diffstat (limited to 'compiler/helm.vim')
-rw-r--r--compiler/helm.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/compiler/helm.vim b/compiler/helm.vim
new file mode 100644
index 0000000..7e4b21d
--- /dev/null
+++ b/compiler/helm.vim
@@ -0,0 +1,14 @@
+if exists('current_compiler')
+ finish
+endif
+let current_compiler = 'go-test'
+
+if exists(':CompilerSet') != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+CompilerSet makeprg=compile\ helm\ lint
+CompilerSet errorformat=\[%t%.%#\]%.%#\ template:\ %f:%l:%c:\ %m,
+ \\[%t%.%#\]\ %f:\ %m,
+
+" vim: sw=2 sts=2 et