From e18c414069242551457ffcef0949224a38013aea Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Thu, 4 Dec 2014 10:13:53 +0200 Subject: [PATCH] README: update FAQ about validator. --- README.markdown | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.markdown b/README.markdown index de414e1f..fca112e2 100644 --- a/README.markdown +++ b/README.markdown @@ -171,10 +171,15 @@ __Q. Are there any local checkers for HTML5 that I can use with syntastic?__ in replacement, and syntastic can use it without changes. Just install it somewhere and point `g:syntastic_html_tidy_exec` to its executable. -Alternatively, you can install [validator][20] from [sources][21] and -[configure][22] syntastic to use it. The installation might seem a little -scary (for one, the final directory takes more than 600+ MB on disk), but in -our experience the process is, in fact, painless. +Alternatively, you can install [vnu.jar][21] from the [validator.nu][20] +project and run it as a [HTTP server][23]: +```sh +$ java -Xss512k -cp /path/to/vnu.jar nu.validator.servlet.Main 8888 +``` +Then you can [configure][22] syntastic to use it: +```vim +let g:syntastic_html_validator_api = 'http://localhost:8888/' +``` @@ -373,8 +378,9 @@ a look at [jedi-vim][7], [python-mode][8], or [YouCompleteMe][9]. [18]: http://tidy.sourceforge.net/ [19]: http://w3c.github.io/tidy-html5/ [20]: http://about.validator.nu/ -[21]: http://about.validator.nu/#src +[21]: https://github.com/validator/validator/releases/latest [22]: https://github.com/scrooloose/syntastic/wiki/HTML%3A---validator +[23]: http://validator.github.io/validator/#standalone