diff --git a/syntax_checkers/css.vim b/syntax_checkers/css.vim index 52f92b35..e6f7a7f1 100644 --- a/syntax_checkers/css.vim +++ b/syntax_checkers/css.vim @@ -19,10 +19,10 @@ if !executable("csslint") endif function! SyntaxCheckers_css_GetLocList() - let makeprg = 'csslint '.shellescape(expand('%')) + let makeprg = 'csslint --format=compact '.shellescape(expand('%')) - " Print CSS Lint's 'Welcome' and error/warning messages. Ignores the code line. - let errorformat = '%+Gcsslint:\ There%.%#,%A%f:,%C%n:\ %t%\\w%\\+\ at\ line\ %l\,\ col\ %c,%Z%m\ at\ line%.%#,%A%>%f:,%C%n:\ %t%\\w%\\+\ at\ line\ %l\,\ col\ %c,%Z%m,%-G%.%#' + " Print CSS Lint's error/warning messages from compact format. Ignores blank lines. + let errorformat = '%f: line %l\, col %c\, %m,%-G,%-G%f: lint free!' let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })