do not save when not feasible
This commit is contained in:
parent
542c5d03ee
commit
da9f829f76
@ -81,11 +81,17 @@ augroup signify
|
||||
endif
|
||||
|
||||
if get(g:, 'signify_cursorhold_normal')
|
||||
autocmd CursorHold * silent update | call s:start(s:path)
|
||||
autocmd CursorHold *
|
||||
\ if filewritable(s:path) && empty(&buftype) |
|
||||
\ update | call s:start(s:path) |
|
||||
\ endif
|
||||
endif
|
||||
|
||||
if get(g:, 'signify_cursorhold_insert')
|
||||
autocmd CursorHoldI * silent update | call s:start(s:path)
|
||||
autocmd CursorHoldI *
|
||||
\ if filewritable(s:path) && empty(&buftype) |
|
||||
\ update | call s:start(s:path) |
|
||||
\ endif
|
||||
endif
|
||||
|
||||
if !has('gui_win32')
|
||||
|
Loading…
Reference in New Issue
Block a user