Skip to content

Commit 7ca8e00

Browse files
committed
Doc: only update when writing the buffer
1 parent 83dc03c commit 7ca8e00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/signify.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ You can disable sign updating for certain events:
444444
>
445445
autocmd User SignifySetup autocmd! signify CursorHold,CursorHoldI
446446
<
447+
If you don't need immediate feedback or responses from your VCS are slow, then
448+
use this to only update signs when writing the buffer:
449+
>
450+
autocmd User SignifySetup
451+
\ exe 'au! signify' | au signify BufWritePost * call sy#start()
452+
<
447453
==============================================================================
448454
EVENTS *signify-events*
449455

0 commit comments

Comments
 (0)