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',
|
\ '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("")} })
|
||||||
|
@ -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("")} })
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user