Fix error highlighting in x?html/tidy.

This commit is contained in:
LCD 47 2013-04-17 13:29:46 +03:00
parent b9700c7a6f
commit 6f214cbb6d
2 changed files with 4 additions and 4 deletions

View File

@ -88,8 +88,8 @@ function! SyntaxCheckers_html_tidy_GetLocList()
\ 'tail': '2>&1', \ 'tail': '2>&1',
\ 'subchecker': 'tidy' }) \ 'subchecker': 'tidy' })
let errorformat = let errorformat =
\ '%Wline %l column %c - Warning: %m,' . \ '%Wline %l column %v - Warning: %m,' .
\ '%Eline %l column %c - Error: %m,' . \ '%Eline %l column %v - Error: %m,' .
\ '%-G%.%#' \ '%-G%.%#'
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} }) let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} })

View File

@ -63,8 +63,8 @@ function! SyntaxCheckers_xhtml_tidy_GetLocList()
\ 'args': encopt . ' -xml -e', \ 'args': encopt . ' -xml -e',
\ 'subchecker': 'tidy' }) \ 'subchecker': 'tidy' })
let errorformat= let errorformat=
\ '%Wline %l column %c - Warning: %m,' . \ '%Wline %l column %v - Warning: %m,' .
\ '%Eline %l column %c - Error: %m,' . \ '%Eline %l column %v - Error: %m,' .
\ '%-G%.%#' \ '%-G%.%#'
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} }) let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} })