-
Notifications
You must be signed in to change notification settings - Fork 1.1k
HTML: w3
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 martin.grenfell@gmail.com
W3 is the W3C Markup Validator for HTML. See the project's page for details.
You can instruct syntastic to use the online service, or you can install it from sources and run it as a local service.
This checker uses curl(1).
- g:syntastic_html_w3_api (string; default: 'http://validator.w3.org/check')
- URL of the service to use for checking; leave it to the default to run the checks against
http://validator.w3.org/
, or set it tohttp://localhost/w3c-validator/check
if you're running a local service - g:syntastic_html_w3_exec (string; default: 'curl')
- path to the
curl
executable; override it with a full path if your curl(1) is not installed in a standard location
Non-zero exit codes from curl
are signaled by syntastic with messages
such as:
syntastic: error: checker html/w3 returned abnormal status 26
You can lookup the meaning of these codes in curl's manual.
This checker doesn't call the makeprgBuild()
function, and thus it
ignores the usual g:syntastic_html_w3_<option>
variables. The only
exception is g:syntastic_html_w3_exec
, which can be used to override
the curl
executable.