Nimbin[12]?Mirrors & Forks / syntastic / commits / f011aa88

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Leftovers from previous commit.

LCD 47 · 2019-01-22 13:12 · f011aa88b2d49d8e13b193042f65585d7f9f2422

 plugin/syntastic.vim                |  2 +-
 syntax_checkers/svg/validator.vim   | 23 +++++++++++++++++++++++
 syntax_checkers/xhtml/validator.vim | 23 +++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim
index 3ee37339..5fe99770 100644
--- a/plugin/syntastic.vim
+++ b/plugin/syntastic.vim
@@ -19,7 +19,7 @@ if has('reltime')
     lockvar! g:_SYNTASTIC_START
 endif
 
-let g:_SYNTASTIC_VERSION = '3.9.0-24'
+let g:_SYNTASTIC_VERSION = '3.9.0-25'
 lockvar g:_SYNTASTIC_VERSION
 
 " Sanity checks {{{1
diff --git a/syntax_checkers/svg/validator.vim b/syntax_checkers/svg/validator.vim
new file mode 100644
index 00000000..71169718
--- /dev/null
+++ b/syntax_checkers/svg/validator.vim
@@ -0,0 +1,23 @@
+"============================================================================
+"File:        validator.vim
+"Description: Syntax checking plugin for syntastic
+"Maintainer:  LCD 47 <lcd047 at gmail dot com>
+"License:     This program is free software. It comes without any warranty,
+"             to the extent permitted by applicable law. You can redistribute
+"             it and/or modify it under the terms of the Do What The Fuck You
+"             Want To Public License, Version 2, as published by Sam Hocevar.
+"             See http://sam.zoy.org/wtfpl/COPYING for more details.
+"
+"============================================================================
+
+if exists('g:loaded_syntastic_svg_validator_checker')
+    finish
+endif
+let g:loaded_syntastic_svg_validator_checker = 1
+
+call g:SyntasticRegistry.CreateAndRegisterChecker({
+    \ 'filetype': 'svg',
+    \ 'name': 'validator',
+    \ 'redirect': 'html/validator'})
+
+" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/syntax_checkers/xhtml/validator.vim b/syntax_checkers/xhtml/validator.vim
new file mode 100644
index 00000000..e3676742
--- /dev/null
+++ b/syntax_checkers/xhtml/validator.vim
@@ -0,0 +1,23 @@
+"============================================================================
+"File:        validator.vim
+"Description: Syntax checking plugin for syntastic
+"Maintainer:  LCD 47 <lcd047 at gmail dot com>
+"License:     This program is free software. It comes without any warranty,
+"             to the extent permitted by applicable law. You can redistribute
+"             it and/or modify it under the terms of the Do What The Fuck You
+"             Want To Public License, Version 2, as published by Sam Hocevar.
+"             See http://sam.zoy.org/wtfpl/COPYING for more details.
+"
+"============================================================================
+
+if exists('g:loaded_syntastic_xhtml_validator_checker')
+    finish
+endif
+let g:loaded_syntastic_xhtml_validator_checker = 1
+
+call g:SyntasticRegistry.CreateAndRegisterChecker({
+    \ 'filetype': 'xhtml',
+    \ 'name': 'validator',
+    \ 'redirect': 'html/validator'})
+
+" vim: set sw=4 sts=4 et fdm=marker: