summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorMike Vink <>2023-04-14 10:17:27 +0200
committerMike Vink <>2023-04-14 10:17:27 +0200
commitfaa30a17f9581590fdac156280147effd0e51f46 (patch)
tree50a79752d937a791b19448f237d14902567bdc71 /compiler
parent5bf899a658326ce0cc09c6373443ac4caf002c60 (diff)
fixup
Diffstat (limited to 'compiler')
-rw-r--r--compiler/go-test.vim14
-rw-r--r--compiler/miketest.lua0
2 files changed, 14 insertions, 0 deletions
diff --git a/compiler/go-test.vim b/compiler/go-test.vim
new file mode 100644
index 0000000..61442e5
--- /dev/null
+++ b/compiler/go-test.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
+
+" %f>%l:%c:%t:%n:%m
+CompilerSet makeprg=go\ test
+CompilerSet errorformat=%.%#:\ %m\ %f:%l,%.%#:\ %m\ at\ %f:%l%.%#,
+
+" vim: sw=2 sts=2 et
diff --git a/compiler/miketest.lua b/compiler/miketest.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/compiler/miketest.lua