Add g:brightest#enable_on_CursorHold option Ref #3.

This commit is contained in:
manga_osyo
2014-10-29 21:02:39 +09:00
parent afc1f0380f
commit 6f0c14e169
3 changed files with 37 additions and 2 deletions

View File

@@ -36,7 +36,9 @@ endfunction
augroup brightest
autocmd!
autocmd CursorMoved * call s:highlight()
" autocmd CursorMoved * call s:highlight()
autocmd CursorMoved * call brightest#on_CursorMoved()
autocmd CursorHold * call brightest#on_CursorHold()
autocmd BufLeave,WinLeave,InsertEnter * call brightest#hl_clear()
autocmd ColorScheme * call s:init_hl()
augroup END