Add jai error parsing to vim

This commit is contained in:
Michael Campagnaro 2022-11-28 23:40:04 -05:00
parent 221985eca2
commit f30f6eaa69

7
vimrc
View File

@ -1133,10 +1133,15 @@ endfunction
command -nargs=0 ShowErrorEntries call s:ShowErrorEntries() 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 " Microsoft compiler: cl.exe
" "
" Z:\path\main.cpp(2808): error C2220: the following warning is treated as an error " 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 " Microsoft MSBuild errors
" "