Remove unused code.

This commit is contained in:
manga_osyo
2015-04-17 09:41:37 +09:00
parent 27573e92bd
commit 37c43a136e

View File

@@ -36,16 +36,8 @@ command! -bar BrightestLock let b:brightest_enable = 0 | BrightestClear
command! -bar BrightestToggle if g:brightest_enable | BrightestDisable | else | BrightestEnable | endif command! -bar BrightestToggle if g:brightest_enable | BrightestDisable | else | BrightestEnable | endif
function! s:highlight()
if g:brightest_enable && get(b:, "brightest_enable", 1)
call brightest#highlighting()
endif
endfunction
augroup brightest augroup brightest
autocmd! autocmd!
" autocmd CursorMoved * call s:highlight()
autocmd CursorMoved * call brightest#on_CursorMoved() autocmd CursorMoved * call brightest#on_CursorMoved()
autocmd CursorHold * call brightest#on_CursorHold() autocmd CursorHold * call brightest#on_CursorHold()
autocmd BufLeave,WinLeave * call brightest#hl_clear() autocmd BufLeave,WinLeave * call brightest#hl_clear()