From f30f6eaa6929d73e51899fb854daf972af9191a7 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 28 Nov 2022 23:40:04 -0500 Subject: [PATCH] Add jai error parsing to vim --- vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 396993d..9a3425d 100644 --- a/vimrc +++ b/vimrc @@ -1133,10 +1133,15 @@ endfunction command -nargs=0 ShowErrorEntries call s:ShowErrorEntries() +" Jai +" +" Z:\path\main.jai:100,10: Error: Undeclared identifier 's1'. +set errorformat=\\\ %#%f:%l\\,%c:\ %t%[A-z]%#:\ %m + " Microsoft compiler: cl.exe " " Z:\path\main.cpp(2808): error C2220: the following warning is treated as an error -set errorformat=\\\ %#%f(%l):\ %#%t%[A-z]%#\ %[A-z]%#%n:\ %m +set errorformat+=\\\ %#%f(%l):\ %#%t%[A-z]%#\ %[A-z]%#%n:\ %m " Microsoft MSBuild errors "