@@ -107,6 +107,7 @@ SYNTAX CHECKERS BY LANGUAGE *syntastic-checkers-lang*
107
107
Solidity.................................| syntastic-checkers-solidity |
108
108
SQL......................................| syntastic-checkers-sql |
109
109
Stylus...................................| syntastic-checkers-stylus |
110
+ SVG......................................| syntastic-checkers-svg |
110
111
111
112
Tcl......................................| syntastic-checkers-tcl |
112
113
TeX......................................| syntastic-checkers-tex |
@@ -3132,6 +3133,13 @@ Sets the "nsfilter" for the parser. See:
3132
3133
3133
3134
https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#nsfilter
3134
3135
3136
+ *'g:syntastic_html_validator_schema'*
3137
+ Type: string
3138
+ Default: empty
3139
+ Sets the "schema" for the parser. See:
3140
+
3141
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#schema
3142
+
3135
3143
*'g:syntastic_html_validator_exec'*
3136
3144
Type: string
3137
3145
Default: "curl"
@@ -3153,6 +3161,8 @@ You can lookup the meaning of these codes in cURL's manual:
3153
3161
3154
3162
http://curl.haxx.se/docs/manpage.html#EXIT
3155
3163
3164
+ See also: | syntastic-svg-validator | , | syntastic-xhtml-validator | .
3165
+
3156
3166
------------------------------------------------------------------------------
3157
3167
10. W3 *syntastic-html-w3*
3158
3168
@@ -6563,6 +6573,103 @@ You might also find useful the "vim-stylus" plugin:
6563
6573
6564
6574
https://github.com/wavded/vim-stylus
6565
6575
6576
+ ==============================================================================
6577
+ SYNTAX CHECKERS FOR SVG *syntastic-checkers-svg*
6578
+
6579
+ The following checkers are available for SVG (filetype "svg"):
6580
+
6581
+ 1. Validator................| syntastic-svg-validator |
6582
+
6583
+ ------------------------------------------------------------------------------
6584
+ 1. Validator *syntastic-svg-validator*
6585
+
6586
+ Name: validator
6587
+ Maintainer: LCD 47 <
[email protected] >
6588
+
6589
+ "Validator" is a non-DTD-based HTML linter. See the project's page for
6590
+ details:
6591
+
6592
+ http://validator.github.io/validator/
6593
+
6594
+ As a syntastic linter, you can validate your files against the online service
6595
+ (see https://validator.nu/ ), or you can install "vnu.jar":
6596
+
6597
+ https://github.com/validator/validator/releases/latest
6598
+
6599
+ then run it as a HTTP server: >
6600
+ $ java -Xss512k -cp /path/to/vnu.jar nu.validator.servlet.Main 8888
6601
+ <
6602
+ Requirement~
6603
+
6604
+ This checker uses cURL:
6605
+
6606
+ http://curl.haxx.se/
6607
+
6608
+ Checker options~
6609
+
6610
+ *'g:syntastic_svg_validator_api'*
6611
+ Type: string
6612
+ Default: "http://validator.nu/ "
6613
+ URL of the service to use for checking. Leave it to the default to run the
6614
+ checks against "https://validator.nu/ ", or set it to "http://localhost:8888/ "
6615
+ if you have "vnu.jar" installed, and you're running it as a standalone HTTP
6616
+ server. See:
6617
+
6618
+ http://validator.github.io/validator/#standalone
6619
+
6620
+ *'g:syntastic_svg_validator_parser'*
6621
+ Type: string
6622
+ Default: empty
6623
+ Parser to use. Legal values are: "xml", "xmldtd", "html", "html5", "html4",
6624
+ and "html4tr". References:
6625
+
6626
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser
6627
+
6628
+ *'g:syntastic_svg_validator_nsfilter'*
6629
+ Type: string
6630
+ Default: empty
6631
+ Sets the "nsfilter" for the parser. See:
6632
+
6633
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#nsfilter
6634
+
6635
+ *'g:syntastic_svg_validator_schema'*
6636
+ Type: string
6637
+ Default: empty
6638
+ Sets the "schema" for the parser. See:
6639
+
6640
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#schema
6641
+
6642
+ *'g:syntastic_svg_validator_exec'*
6643
+ Type: string
6644
+ Default: "curl"
6645
+ Path to the "cURL" executable. Override it with a full path if your "cURL" is
6646
+ not installed in a standard location.
6647
+
6648
+ This checker doesn't call the "makeprgBuild()" function, and thus it ignores
6649
+ the usual 'g:syntastic_svg_validator_<option> ' variables. The only exception
6650
+ is 'g:syntastic_svg_validator_exec', which can be used to override the path
6651
+ to the "cURL" executable.
6652
+
6653
+ Note~
6654
+
6655
+ Non-zero exit codes from "cURL" are typically network errors, and are signaled
6656
+ by syntastic with messages such as: >
6657
+ syntastic: error: checker svg/validator returned abnormal status 26
6658
+ <
6659
+ You can lookup the meaning of these codes in cURL's manual:
6660
+
6661
+ http://curl.haxx.se/docs/manpage.html#EXIT
6662
+
6663
+ Example~
6664
+ >
6665
+ let g:syntastic_svg_validator_parser = 'xml'
6666
+ let g:syntastic_svg_validator_schema =
6667
+ \ 'http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc ' .
6668
+ \ 'http://s.validator.nu/html5/assertions.sch ' .
6669
+ \ 'http://c.validator.nu/all/'
6670
+ <
6671
+ See also: | syntastic-html-validator | , | syntastic-xhtml-validator | .
6672
+
6566
6673
==============================================================================
6567
6674
SYNTAX CHECKERS FOR TCL *syntastic-checkers-tcl*
6568
6675
@@ -7375,6 +7482,7 @@ The following checkers are available for xHTML (filetype "xhtml"):
7375
7482
1. HTML Tidy................| syntastic-xhtml-tidy |
7376
7483
2. jshint...................| syntastic-xhtml-jshint |
7377
7484
3. proselint................| syntastic-xhtml-proselint |
7485
+ 4. Validator................| syntastic-xhtml-validator |
7378
7486
7379
7487
------------------------------------------------------------------------------
7380
7488
1. HTML tidy *syntastic-xhtml-tidy*
@@ -7470,6 +7578,96 @@ See also: |syntastic-asciidoc-proselint|, |syntastic-help-proselint|,
7470
7578
| syntastic-rst-proselint | , | syntastic-tex-proselint | ,
7471
7579
| syntastic-texinfo-proselint | , | syntastic-text-proselint | .
7472
7580
7581
+ ------------------------------------------------------------------------------
7582
+ 4. Validator *syntastic-xhtml-validator*
7583
+
7584
+ Name: validator
7585
+ Maintainer: LCD 47 <
[email protected] >
7586
+
7587
+ "Validator" is a non-DTD-based HTML linter. See the project's page for
7588
+ details:
7589
+
7590
+ http://validator.github.io/validator/
7591
+
7592
+ As a syntastic linter, you can validate your files against the online service
7593
+ (see https://validator.nu/ ), or you can install "vnu.jar":
7594
+
7595
+ https://github.com/validator/validator/releases/latest
7596
+
7597
+ then run it as a HTTP server: >
7598
+ $ java -Xss512k -cp /path/to/vnu.jar nu.validator.servlet.Main 8888
7599
+ <
7600
+ Requirement~
7601
+
7602
+ This checker uses cURL:
7603
+
7604
+ http://curl.haxx.se/
7605
+
7606
+ Checker options~
7607
+
7608
+ *'g:syntastic_xhtml_validator_api'*
7609
+ Type: string
7610
+ Default: "http://validator.nu/ "
7611
+ URL of the service to use for checking. Leave it to the default to run the
7612
+ checks against "https://validator.nu/ ", or set it to "http://localhost:8888/ "
7613
+ if you have "vnu.jar" installed, and you're running it as a standalone HTTP
7614
+ server. See:
7615
+
7616
+ http://validator.github.io/validator/#standalone
7617
+
7618
+ *'g:syntastic_xhtml_validator_parser'*
7619
+ Type: string
7620
+ Default: empty
7621
+ Parser to use. Legal values are: "xml", "xmldtd", "html", "html5", "html4",
7622
+ and "html4tr". References:
7623
+
7624
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser
7625
+
7626
+ *'g:syntastic_xhtml_validator_nsfilter'*
7627
+ Type: string
7628
+ Default: empty
7629
+ Sets the "nsfilter" for the parser. See:
7630
+
7631
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#nsfilter
7632
+
7633
+ *'g:syntastic_xhtml_validator_schema'*
7634
+ Type: string
7635
+ Default: empty
7636
+ Sets the "schema" for the parser. See:
7637
+
7638
+ https://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#schema
7639
+
7640
+ *'g:syntastic_xhtml_validator_exec'*
7641
+ Type: string
7642
+ Default: "curl"
7643
+ Path to the "cURL" executable. Override it with a full path if your "cURL" is
7644
+ not installed in a standard location.
7645
+
7646
+ This checker doesn't call the "makeprgBuild()" function, and thus it ignores
7647
+ the usual 'g:syntastic_xhtml_validator_<option> ' variables. The only exception
7648
+ is 'g:syntastic_xhtml_validator_exec', which can be used to override the path
7649
+ to the "cURL" executable.
7650
+
7651
+ Note~
7652
+
7653
+ Non-zero exit codes from "cURL" are typically network errors, and are signaled
7654
+ by syntastic with messages such as: >
7655
+ syntastic: error: checker xhtml/validator returned abnormal status 26
7656
+ <
7657
+ You can lookup the meaning of these codes in cURL's manual:
7658
+
7659
+ http://curl.haxx.se/docs/manpage.html#EXIT
7660
+
7661
+ Example~
7662
+ >
7663
+ let g:syntastic_xhtml_validator_parser = 'xmldtd'
7664
+ let g:syntastic_xhtml_validator_schema =
7665
+ \ 'http://s.validator.nu/xhtml5.rnc ' .
7666
+ \ 'http://s.validator.nu/html5/assertions.sch ' .
7667
+ \ 'http://c.validator.nu/all/
7668
+ <
7669
+ See also: | syntastic-html-validator | , | syntastic-svg-validator | .
7670
+
7473
7671
==============================================================================
7474
7672
SYNTAX CHECKERS FOR XML *syntastic-checkers-xml*
7475
7673
0 commit comments