diff --git a/README.markdown b/README.markdown index b9e08c4e..9ec07cdc 100644 --- a/README.markdown +++ b/README.markdown @@ -60,10 +60,10 @@ Haskell, Haxe, Handlebars, HSS, HTML, Java, JavaScript, JSON, JSX, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown, MATLAB, Mercury, NASM, Nix, Objective-C, Objective-C++, OCaml, Perl, Perl POD, PHP, gettext Portable Object, OS X and iOS property lists, Puppet, Python, R, Racket, Relax NG, -reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Sphinx, Tcl, -TeX, Texinfo, Twig, TypeScript, Vala, Verilog, VHDL, VimL, xHtml, XML, XSLT, -YACC, YAML, z80, Zope page templates, and zsh. See the [wiki][3] for details -about the corresponding supported checkers. +reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Sphinx, SQL, +Tcl, TeX, Texinfo, Twig, TypeScript, Vala, Verilog, VHDL, VimL, xHtml, XML, +XSLT, YACC, YAML, z80, Zope page templates, and zsh. See the [wiki][3] for +details about the corresponding supported checkers. A number of third-party Vim plugins also provide checkers for syntastic, for example: [omnisharp-vim][25], [rust.vim][12], [syntastic-extras][26], diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index e82ce402..67bf41f0 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.6.0-124' +let g:_SYNTASTIC_VERSION = '3.6.0-126' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/plugin/syntastic/registry.vim b/plugin/syntastic/registry.vim index 310a290a..88649813 100644 --- a/plugin/syntastic/registry.vim +++ b/plugin/syntastic/registry.vim @@ -78,6 +78,7 @@ let s:_DEFAULT_CHECKERS = { \ 'slim': ['slimrb'], \ 'sml': ['smlnj'], \ 'spec': ['rpmlint'], + \ 'sql': ['sqlint'], \ 'tcl': ['nagelfar'], \ 'tex': ['lacheck', 'chktex'], \ 'texinfo': ['makeinfo'], diff --git a/syntax_checkers/sql/sqlint.vim b/syntax_checkers/sql/sqlint.vim index fe9df40b..d8650f36 100644 --- a/syntax_checkers/sql/sqlint.vim +++ b/syntax_checkers/sql/sqlint.vim @@ -23,18 +23,16 @@ endfunction function! SyntaxCheckers_sql_sqlint_GetLocList() dict let makeprg = self.makeprgBuild({}) - let commonformat = '%f:%l:%c:' let errorformat = - \ '%E%>' . commonformat . "ERROR %m," . - \ '%+C%> %.%#,' . - \ '%W%>' . commonformat . "WARNING %m," . - \ '%+C%> %.%#' - let loclist = SyntasticMake({ + \ '%E%f:%l:%c:ERROR %m,' . + \ '%W%f:%l:%c:WARNING %m,' . + \ '%C %m' + + return SyntasticMake({ \ 'makeprg': makeprg, \ 'errorformat': errorformat, - \ 'subtype': 'Style'}) - - return loclist + \ 'subtype': 'Style', + \ 'returns': [0] }) endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({