diff --git a/syntax_checkers/less.vim b/syntax_checkers/less.vim index 7393b3ef..1338ffda 100644 --- a/syntax_checkers/less.vim +++ b/syntax_checkers/less.vim @@ -27,7 +27,7 @@ function! SyntaxCheckers_less_GetLocList() let makeprg = 'lessc '. g:syntastic_less_options .' '. shellescape(expand('%')) . ' /dev/null' "lessc >= 1.2 - let errorformat = 'ParseError: Syntax Error on line %[0-9]%# in %f:%l:%c' + let errorformat = '%m in %f:%l:%c' "lessc < 1.2 let errorformat .= ', Syntax %trror on line %l in %f,Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#'