diff --git a/syntax_checkers/eruby.vim b/syntax_checkers/eruby.vim index d6ddc4f7..855cabd5 100644 --- a/syntax_checkers/eruby.vim +++ b/syntax_checkers/eruby.vim @@ -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) diff --git a/syntax_checkers/html.vim b/syntax_checkers/html.vim index acc7a243..e6fd6ecd 100644 --- a/syntax_checkers/html.vim +++ b/syntax_checkers/html.vim @@ -26,7 +26,7 @@ function! SyntaxCheckers_html_GetLocList() let &makeprg="tidy -e % 2>&1 \\| grep -v '\ 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) diff --git a/syntax_checkers/ruby.vim b/syntax_checkers/ruby.vim index 983b6191..23762ab4 100644 --- a/syntax_checkers/ruby.vim +++ b/syntax_checkers/ruby.vim @@ -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