diff autoload/vimcrosoft.vim @ 11:096e80c13781

Use the correct documentation extension.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 22 Jan 2021 16:42:25 -0800
parents ff4590b2503a
children 1639be0967d6
line wrap: on
line diff
--- a/autoload/vimcrosoft.vim	Thu Sep 24 23:02:16 2020 -0700
+++ b/autoload/vimcrosoft.vim	Fri Jan 22 16:42:25 2021 -0800
@@ -62,6 +62,13 @@
     return 0
 endfunction
 
+function! vimcrosoft#get_msbuild_errorformat() abort
+    " MSBuild error formats look like this:
+    " Path\To\Source\Filename.cpp|53| error C2065: 'MyClass': undeclared identifier [Path\To\MyProject.vcxproj]
+    return '%*[^\ ]\ %f\|%l\|\ %trror\ \D%n:\ %m\ [%o]'
+                " \'\|\|\ %f\|%l\|\ %tarning\ \D%n:\ %m\ [%o]'
+endfunction
+
 " }}}
 
 " Cache Files {{{