Vim Tips Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Tip 852 Printable Monobook Previous Next

created January 14, 2005 · complexity intermediate · author Lee Riemenschneider · version 6.0


This line will replace "make" with the "build" command when using ":make".

" Use build.exe for making
set makeprg=build\ -script\ script.bld\ -XO\ build.err

Note: It directs the output to a file called "build.err" and assumes a script based build where the scriptname is "script.bld".

This line allows the error output from the build to be processed for display and linking back to the source.

" Find CA850 errors and warnings
set errorformat=%f\ %l\ %.%#rror:\ %t%n:%m,%f\ %l\ %.%#arning:\ %t%n:%m,%+Eld850:\ %.%#rror:\ %t%n:%m

Comments

Advertisement