diff --git a/plugin/signify.vim b/plugin/signify.vim index 4e89458..460683f 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -13,10 +13,10 @@ let g:signify_locked = 0 augroup signify autocmd! - autocmd VimEnter * call sy#highlight#setup() - autocmd BufRead,BufEnter * let b:sy_path = resolve(expand(':p')) - autocmd BufRead,BufWritePost * call sy#start(b:sy_path) - autocmd BufDelete * call sy#stop(expand('')) + autocmd VimEnter * call sy#highlight#setup() + autocmd BufRead,BufEnter,SessionLoadPost * let b:sy_path = resolve(expand(':p')) + autocmd BufRead,BufWritePost * call sy#start(b:sy_path) + autocmd BufDelete * call sy#stop(expand('')) autocmd QuickFixCmdPre *vimgrep* let g:signify_locked = 1 autocmd QuickFixCmdPost *vimgrep* let g:signify_locked = 0