Vim Tips Wiki
Register
Advertisement
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