From 9d69f4c1629095b3c3d59b6c9d5606f9bc66bcdb Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 28 Jul 2015 12:37:07 +0300 Subject: [PATCH] Qmllint checker: cleanup. --- README.markdown | 2 +- plugin/syntastic.vim | 2 +- syntax_checkers/qml/qmllint.vim | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index beaaeae1..08329dd9 100644 --- a/README.markdown +++ b/README.markdown @@ -59,7 +59,7 @@ DocBook, Dust, Elixir, Erlang, eRuby, Fortran, Gentoo metadata, GLSL, Go, Haml, 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, +Object, OS X and iOS property lists, Puppet, Python, QML, R, Racket, Relax NG, reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Sphinx, SQL, Stylus, Tcl, TeX, Texinfo, Twig, TypeScript, Vala, Verilog, VHDL, VimL, xHtml, XML, XSLT, YACC, YAML, z80, Zope page templates, and zsh. See the [wiki][3] diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index c1573c4b..98602f58 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-138' +let g:_SYNTASTIC_VERSION = '3.6.0-140' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/qml/qmllint.vim b/syntax_checkers/qml/qmllint.vim index 1645fa3e..0aef61c6 100644 --- a/syntax_checkers/qml/qmllint.vim +++ b/syntax_checkers/qml/qmllint.vim @@ -20,14 +20,12 @@ set cpo&vim function! SyntaxCheckers_qml_qmllint_GetLocList() dict let makeprg = self.makeprgBuild({}) - " Supported error formats can be found in - " qt-everywhere-opensource-src-5.5.0/qtdeclarative/tools/qmllint/main.cpp - let errorformat = - \ '%E%f:%l : %m' + let errorformat = '%f:%l : %m' return SyntasticMake({ \ 'makeprg': makeprg, \ 'errorformat': errorformat, + \ 'postprocess': ['guards'], \ 'returns': [0, 255] }) endfunction