Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

HTML: tidy

Kaleb Hornsby edited this page Nov 4, 2013 · 25 revisions

Maintainer: Martin Grenfell [email protected]

See the HTML Tidy Library Project page for more information about tidy and installation instructions.

Checker options:

g:syntastic_html_tidy_ignore_errors (list; default: [])
list of errors to ignore

If you are getting the error <input> proprietary attribute "role", and you want to ignore all future errors of this specific type, set the following in your vimrc (or ~/.vim/ftplugin/html.vim)

let g:syntastic_html_tidy_ignore_errors = [
  \ "<input> proprietary attribute \"role\"",
\]

If you want to ignore all future errors of pertaining to the role attribute for all element types, then remove the specific element type from your entry. There errors are not matched exactly, but through inclusiveness.

let g:syntastic_html_tidy_ignore_errors = [
  \ "proprietary attribute \"role\"",
\]
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
Clone this wiki locally