Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
less: Fix logic for when to use less-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrown committed Sep 26, 2012
1 parent 0b51278 commit be92722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax_checkers/less.vim
Expand Up @@ -36,9 +36,9 @@ if !exists("g:syntastic_less_use_less_lint")
endif

if g:syntastic_less_use_less_lint
let s:check_file = 'lessc'
else
let s:check_file = 'node ' . expand('<sfile>:p:h') . '/less-lint.js'
else
let s:check_file = 'lessc'
end

function! SyntaxCheckers_less_GetLocList()
Expand Down

0 comments on commit be92722

Please sign in to comment.