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

(v3.5.0) HTML: w3

LCD 47 edited this page Dec 13, 2014 · 1 revision

Maintainer: Martin Grenfell [email protected]

To activate the checker, set the following:

let g:syntastic_html_checkers = ['w3']

Requirement:

This checker uses curl.

Checker options:

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 to http://localhost/w3c-validator/check if you're running a local service

Notes:

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 still be used to override curl's executable.

Clone this wiki locally