diff --git a/nvim/.config/nvim/compiler/xunit.vim b/nvim/.config/nvim/compiler/xunit.vim new file mode 100644 index 0000000..c753d48 --- /dev/null +++ b/nvim/.config/nvim/compiler/xunit.vim @@ -0,0 +1,19 @@ +if exists("current_compiler") + finish +endif +let current_compiler = "xunit" + +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet makeprg=dotnet\ test + +CompilerSet errorformat= + \%+A\ \ Error\ Message:, + \%C\ \ Stack\ Trace:, + \%C\ \ \ \ \ at\ %.%#\ in\ %f:line\ %l, + \%C\ \ \ %m, + \%Z + +let &cpo = s:cpo_save +unlet s:cpo_save