Compatibility: bitwise and() has been added in Vim 7.3.377.
This reverts commit 5406a3ab3cda97ca029f41b49bb10d6e5699105f.
This commit is contained in:
parent
ab9d59c409
commit
c82a9a92e9
@ -130,7 +130,8 @@ endfunction
|
|||||||
" Private functions {{{1
|
" Private functions {{{1
|
||||||
|
|
||||||
function! s:isDebugEnabled(level)
|
function! s:isDebugEnabled(level)
|
||||||
return and(g:syntastic_debug, a:level)
|
" poor man's bit test for bit N, assuming a:level == 2**N
|
||||||
|
return (g:syntastic_debug / a:level) % 2
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:logRedirect(on)
|
function! s:logRedirect(on)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user