diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..82e66101 Binary files /dev/null and b/.DS_Store differ diff --git a/syntax_checkers/less.vim b/syntax_checkers/less.vim index f561fdf6..acc12ef6 100644 --- a/syntax_checkers/less.vim +++ b/syntax_checkers/less.vim @@ -25,7 +25,7 @@ endif function! SyntaxCheckers_less_GetLocList() let makeprg = 'lessc '. g:syntastic_less_options .' '. shellescape(expand('%')) . ' /dev/null' - let errorformat = 'Syntax %trror on line %l in %f,Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#' + let errorformat = 'ParseError:\ Syntax\ Error\ on\ line\ %[0-9]%#\ in\ %f\:%l\:%c, Syntax %trror on line %l in %f,Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#' return SyntasticMake({ 'makeprg': makeprg, \ 'errorformat': errorformat, \ 'defaults': {'bufnr': bufnr(""), 'text': "Syntax error"} })