Merge pull request #48 from julienXX/fix_less_files_generation
Fix less files generation
This commit is contained in:
commit
c1b921bf04
@ -20,7 +20,7 @@ if !executable("lessc")
|
||||
endif
|
||||
|
||||
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 errors = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||
|
||||
@ -34,3 +34,4 @@ function! SyntaxCheckers_less_GetLocList()
|
||||
|
||||
return errors
|
||||
endfunction
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user