parent
39d5614596
commit
a4e06fb303
@ -13,10 +13,10 @@ let g:signify_locked = 0
|
|||||||
augroup signify
|
augroup signify
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
||||||
autocmd VimEnter * call sy#highlight#setup()
|
autocmd VimEnter * call sy#highlight#setup()
|
||||||
autocmd BufRead,BufEnter * let b:sy_path = resolve(expand('<afile>:p'))
|
autocmd BufRead,BufEnter,SessionLoadPost * let b:sy_path = resolve(expand('<afile>:p'))
|
||||||
autocmd BufRead,BufWritePost * call sy#start(b:sy_path)
|
autocmd BufRead,BufWritePost * call sy#start(b:sy_path)
|
||||||
autocmd BufDelete * call sy#stop(expand('<abuf>'))
|
autocmd BufDelete * call sy#stop(expand('<abuf>'))
|
||||||
|
|
||||||
autocmd QuickFixCmdPre *vimgrep* let g:signify_locked = 1
|
autocmd QuickFixCmdPre *vimgrep* let g:signify_locked = 1
|
||||||
autocmd QuickFixCmdPost *vimgrep* let g:signify_locked = 0
|
autocmd QuickFixCmdPost *vimgrep* let g:signify_locked = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user