use lmake instead of make

This commit is contained in:
Martin Grenfell 2009-07-14 09:53:36 +12:00
parent 7f60f42a2a
commit 0c35ca4416
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ endif
function! SyntaxCheckers_eruby_GetLocList()
let &makeprg='cat '. expand("%") . ' \| ruby -e "require \"erb\"; puts ERB.new(ARGF.read, nil, \"-\").src" \| ruby -c'
set errorformat=%-GSyntax\ OK,%E-:%l:\ syntax\ error\\,\ %m,%Z%p^,%W-:%l:\ warning:\ %m,%Z%p^,%-C%.%#
silent make!
silent lmake!
"the file name isnt in the output so stick in the buf num manually
let loclist = getloclist(0)

View File

@ -26,7 +26,7 @@ function! SyntaxCheckers_html_GetLocList()
let &makeprg="tidy -e % 2>&1 \\| grep -v '\<table\> lacks \"summary\" attribute'"
set errorformat=%Wline\ %l\ column\ %c\ -\ Warning:\ %m,%Eline\ %l\ column\ %c\ -\ Error:\ %m,%-G%.%#,%-G%.%#
silent make!
silent lmake!
"the file name isnt in the output so stick in the buf num manually
let loclist = getloclist(0)

View File

@ -22,6 +22,6 @@ endif
function! SyntaxCheckers_ruby_GetLocList()
set makeprg=ruby\ -c\ %
set errorformat=%-GSyntax\ OK,%E%f:%l:\ syntax\ error\\,\ %m,%Z%p^,%W%f:%l:\ warning:\ %m,%Z%p^,%-C%.%#
silent make!
silent lmake!
return getloclist(0)
endfunction