-
Notifications
You must be signed in to change notification settings - Fork 1.1k
HTML: tidy
This file exists only as a historic reference. Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
Maintainer: Martin Grenfell [email protected]
HTML Tidy is a syntax checker and formatter for HTML. See the project's page for more information.
- 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
The patterns in g:syntastic_html_tidy_ignore_errors
are case-sensitive,
and are matched as substrings (not regular expressions) against the error
messages.
Alternatively, you can ignore messages using the general mechanisms of
g:syntastic_quiet_messages
and g:syntastic_html_tidy_quiet_messages
.
See :help 'syntastic_quiet_messages'
for details.
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"' ]