Merge pull request #147 from irrationalfab/master

less fix
This commit is contained in:
Martin Grenfell 2012-01-18 08:55:51 -08:00
commit ae5171e453
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*~
*.swp
tags
.DS_Store

View File

@ -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"} })