Merge pull request #152 from irrationalfab/master

Improved less fix
This commit is contained in:
Martin Grenfell 2012-02-01 09:33:24 -08:00
commit ad1481c2ce

View File

@ -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%.%#'