New option: signify_update_on_focusgained

This commit is contained in:
Marco Hinz 2013-08-13 08:09:02 +02:00
parent 839232423b
commit b53043de80
3 changed files with 11 additions and 1 deletions

View File

@ -204,6 +204,7 @@ let g:signify_skip_filename = { '/home/user/.vimrc': 1 }
let g:signify_sign_overwrite = 1 let g:signify_sign_overwrite = 1
let g:signify_update_on_bufenter = 1 let g:signify_update_on_bufenter = 1
let g:signify_update_on_focusgained = 0
let g:signify_line_highlight = 1 let g:signify_line_highlight = 1

View File

@ -171,6 +171,15 @@ NOTE: This also saves the buffer to disk!
============- ============-
let g:signify_update_on_focusgained = 0
Update signs when Vim gains focus.
NOTE: This also saves the buffer to disk!
============-
let g:signify_line_highlight = 0 let g:signify_line_highlight = 0
Enable line highlighting in addition to using signs by default. Enable line highlighting in addition to using signs by default.

View File

@ -47,7 +47,7 @@ augroup signify
\ endif \ endif
endif endif
if !has('gui_win32') if get(g:, 'signify_update_on_focusgained') && !has('gui_win32')
autocmd FocusGained * call sy#start(g:sy_path) autocmd FocusGained * call sy#start(g:sy_path)
endif endif
augroup END augroup END