Skip to content

Commit

Permalink
Fix error highlighting in x?html/tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcd047 committed Apr 17, 2013
1 parent b9700c7 commit 6f214cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions syntax_checkers/html/tidy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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("")} })
Expand Down
4 changes: 2 additions & 2 deletions syntax_checkers/xhtml/tidy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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("")} })

Expand Down

0 comments on commit 6f214cb

Please sign in to comment.