summaryrefslogtreecommitdiff
path: root/compiler/ansible-lint.vim
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-04-22 20:42:34 +0200
committerMike Vink <mike1994vink@gmail.com>2023-04-22 20:42:34 +0200
commitb91bb045f335eb2e15bebc5fa108e5893b5d9951 (patch)
tree63491f4773069755ed5b8f5d344b202b34f23bc6 /compiler/ansible-lint.vim
parent1b6566231b8bfc8223fcbf11d1243d9328f65f4f (diff)
small things
Diffstat (limited to 'compiler/ansible-lint.vim')
-rw-r--r--compiler/ansible-lint.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/ansible-lint.vim b/compiler/ansible-lint.vim
new file mode 100644
index 0000000..f1f4139
--- /dev/null
+++ b/compiler/ansible-lint.vim
@@ -0,0 +1,11 @@
+if exists('current_compiler')
+ finish
+endif
+let current_compiler = 'go-test'
+
+if exists(':CompilerSet') != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+CompilerSet makeprg=ansible-lint
+CompilerSet errorformat=%Z%f:%l\ %m,%Z%f:%l,%E%\\%%(%\\S%\\)%\\@=%m,%C%\\%%(%\\S%\\)%\\@=%m,%-G