remove support for less < 1.2
This was added in jan 2012. The current version is 1.3. Hard to imagine anyone is still using < 1.2
This commit is contained in:
parent
2387aba46c
commit
c13ce4bf9f
@ -44,11 +44,7 @@ end
|
||||
function! SyntaxCheckers_less_GetLocList()
|
||||
let makeprg = s:check_file . ' ' . g:syntastic_less_options . ' ' .
|
||||
\ shellescape(expand('%')) . ' /dev/null'
|
||||
|
||||
"lessc >= 1.2
|
||||
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%.%#'
|
||||
|
||||
return SyntasticMake({ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
|
Loading…
x
Reference in New Issue
Block a user