check if path is actually in list at BufDelete
Fixes a bug that was introduced by the previous commit: 610c36c
This commit is contained in:
parent
610c36cf04
commit
d4c6681577
@ -51,7 +51,7 @@ augroup signify
|
||||
|
||||
autocmd BufEnter * let s:path = resolve(expand('<afile>:p'))
|
||||
autocmd BufWritePost * call s:start(s:path)
|
||||
autocmd BufDelete * call s:stop(s:path) | call remove(s:sy, s:path)
|
||||
autocmd BufDelete * call s:stop(s:path) | if has_key(s:sy, s:path) | call remove(s:sy, s:path) | endif
|
||||
autocmd VimEnter,ColorScheme * call s:colors_set()
|
||||
|
||||
if get(g:, 'signify_update_on_bufenter', 1)
|
||||
|
Loading…
Reference in New Issue
Block a user