From c13ce4bf9f17134fb5c7aef74c0e4609663301e3 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 23 Sep 2012 15:30:16 +0100 Subject: [PATCH] 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 --- syntax_checkers/less.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/syntax_checkers/less.vim b/syntax_checkers/less.vim index bcc5962e..8717f9a3 100644 --- a/syntax_checkers/less.vim +++ b/syntax_checkers/less.vim @@ -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,