Fix error highlighting in x?html/tidy.
This commit is contained in:
parent
b9700c7a6f
commit
6f214cbb6d
@ -88,8 +88,8 @@ function! SyntaxCheckers_html_tidy_GetLocList()
|
||||
\ 'tail': '2>&1',
|
||||
\ 'subchecker': 'tidy' })
|
||||
let errorformat =
|
||||
\ '%Wline %l column %c - Warning: %m,' .
|
||||
\ '%Eline %l column %c - Error: %m,' .
|
||||
\ '%Wline %l column %v - Warning: %m,' .
|
||||
\ '%Eline %l column %v - Error: %m,' .
|
||||
\ '%-G%.%#'
|
||||
|
||||
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} })
|
||||
|
@ -63,8 +63,8 @@ function! SyntaxCheckers_xhtml_tidy_GetLocList()
|
||||
\ 'args': encopt . ' -xml -e',
|
||||
\ 'subchecker': 'tidy' })
|
||||
let errorformat=
|
||||
\ '%Wline %l column %c - Warning: %m,' .
|
||||
\ '%Eline %l column %c - Error: %m,' .
|
||||
\ '%Wline %l column %v - Warning: %m,' .
|
||||
\ '%Eline %l column %v - Error: %m,' .
|
||||
\ '%-G%.%#'
|
||||
let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr("")} })
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user