New option: signify_update_on_focusgained
This commit is contained in:
parent
839232423b
commit
b53043de80
@ -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
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user