fix color bug
Fixes a bug that happened, when an active buffer was closed and reopened. Calls s:set_colors() in this case.
This commit is contained in:
parent
fbde8b57d9
commit
942600a2ce
@ -59,9 +59,10 @@ endif
|
|||||||
" Initial stuff {{{1
|
" Initial stuff {{{1
|
||||||
aug signify
|
aug signify
|
||||||
au!
|
au!
|
||||||
au ColorScheme * call s:set_colors()
|
au ColorScheme * call s:set_colors()
|
||||||
au BufWritePost,BufEnter * call s:start()
|
au BufWritePost * call s:start()
|
||||||
au BufDelete * call s:stop() | call remove(s:active_buffers, expand('%:p'))
|
au BufEnter * let s:colors_set_b = 0 | call s:start()
|
||||||
|
au BufDelete * call s:stop() | call remove(s:active_buffers, expand('%:p'))
|
||||||
aug END
|
aug END
|
||||||
|
|
||||||
com! -nargs=0 -bar SignifyToggle call s:toggle_signify()
|
com! -nargs=0 -bar SignifyToggle call s:toggle_signify()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user