Add command :BrightestHighlight and :BrightestClear

This commit is contained in:
manga_osyo
2014-08-04 12:54:24 +09:00
parent 4ad5ac481c
commit 81556d369e
2 changed files with 14 additions and 4 deletions

View File

@@ -20,8 +20,12 @@ endfunction
call s:init_hl()
command! -bar BrightestEnable let g:brightest_enable = 1 | call brightest#highlighting()
command! -bar BrightestDisable let g:brightest_enable = 0 | call brightest#hl_clear()
command! -bar BrightestHighlight call brightest#highlighting()
command! -bar BrightestClear call brightest#hl_clear()
command! -bar BrightestEnable let g:brightest_enable = 1 | BrightestHighlight
command! -bar BrightestDisable let g:brightest_enable = 0 | BrightestClear
augroup brightest
autocmd!