summaryrefslogtreecommitdiff
path: root/neovim/compiler/go-test.vim
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-09-27 21:26:02 +0200
committerMike Vink <mike1994vink@gmail.com>2023-09-27 21:26:02 +0200
commit654ec06ab6a885ea851c4cbf68d06a00b41b0e14 (patch)
treea588832b91c4506ad92f4f20beec1f5865e116ac /neovim/compiler/go-test.vim
parentca986b8407391a6a89c26cf159da42ac26578049 (diff)
seq keep fix
Diffstat (limited to 'neovim/compiler/go-test.vim')
-rw-r--r--neovim/compiler/go-test.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/neovim/compiler/go-test.vim b/neovim/compiler/go-test.vim
new file mode 100644
index 0000000..61442e5
--- /dev/null
+++ b/neovim/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