This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
(v3.6.0) HTML: tidy
LCD 47 edited this page Jan 19, 2015
·
1 revision
Maintainer: Martin Grenfell martin.grenfell@gmail.com
HTML Tidy is a syntax checker and formatter for HTML. See the HTML Tidy
Library Project page for more information about tidy
and installation
instructions.
If you need to check HTML5 sources, you might consider installing HTML Tidy
for HTML5 instead. It's a fork of HTML Tidy, and it can be used without
changes by syntastic. Just point g:syntastic_html_tidy_exec
to it.
- g:syntastic_html_tidy_ignore_errors (list; default: [])
- list of errors to ignore
- g:syntastic_html_tidy_blocklevel_tags (list; default: [])
- list of additional blocklevel tags, to be added to
--new-blocklevel-tags
- g:syntastic_html_tidy_inline_tags (list; default: [])
- list of additional inline tags, to be added to
--new-inline-tags
- g:syntastic_html_tidy_empty_tags (list; default: [])
- list of additional empty tags, to be added to
--new-empty-tags
If tidy produces the error <input> proprietary attribute "role"
and you want to ignore all errors of this specific type, add something
like this to your vimrc:
let g:syntastic_html_tidy_ignore_errors = [ '<input> proprietary attribute "role"' ]
The patterns in g:syntastic_html_tidy_ignore_errors
are
case-sensitive, and are matched as substrings (not regular expressions)
against the error messages.