From 37c43a136e06a3e1b2309dad22c2235e906ebc94 Mon Sep 17 00:00:00 2001 From: manga_osyo Date: Fri, 17 Apr 2015 09:41:37 +0900 Subject: [PATCH] Remove unused code. --- plugin/brightest.vim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugin/brightest.vim b/plugin/brightest.vim index fd04940..535237d 100644 --- a/plugin/brightest.vim +++ b/plugin/brightest.vim @@ -36,16 +36,8 @@ command! -bar BrightestLock let b:brightest_enable = 0 | BrightestClear 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 autocmd! -" autocmd CursorMoved * call s:highlight() autocmd CursorMoved * call brightest#on_CursorMoved() autocmd CursorHold * call brightest#on_CursorHold() autocmd BufLeave,WinLeave * call brightest#hl_clear()