Skip to content

Commit

Permalink
Merge pull request vim-syntastic#368 from rbrown/less
Browse files Browse the repository at this point in the history
less: Fix logic for when to use less-lint
  • Loading branch information
scrooloose committed Sep 26, 2012
2 parents 0b51278 + be92722 commit 4c5a46f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax_checkers/less.vim
Original file line number Diff line number Diff line change
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 4c5a46f

Please sign in to comment.