Merge pull request #48 from julienXX/fix_less_files_generation

Fix less files generation
This commit is contained in:
Martin Grenfell 2011-06-02 13:21:07 -07:00
commit c1b921bf04

View File

@ -20,7 +20,7 @@ if !executable("lessc")
endif endif
function! SyntaxCheckers_less_GetLocList() function! SyntaxCheckers_less_GetLocList()
let makeprg = 'lessc '. shellescape(expand('%')) let makeprg = 'lessc '. shellescape(expand('%')) . ' /dev/null'
let errorformat = 'Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#' let errorformat = 'Syntax %trror on line %l,! Syntax %trror: on line %l: %m,%-G%.%#'
let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) let errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
@ -34,3 +34,4 @@ function! SyntaxCheckers_less_GetLocList()
return errors return errors
endfunction endfunction