use lmake instead of make
This commit is contained in:
parent
7f60f42a2a
commit
0c35ca4416
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user