Fix git-gutter reactivating on ESC #114
This commit is contained in:
parent
79fbe56b76
commit
41e8752d8f
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@
|
|||
(defun +version-control|update-git-gutter ()
|
||||
"Refresh git-gutter on ESC. Return nil to prevent shadowing other
|
||||
`+evil-esc-hook' hooks."
|
||||
(ignore (git-gutter)))
|
||||
(when git-gutter-mode
|
||||
(git-gutter)
|
||||
nil))
|
||||
(add-hook '+evil-esc-hook #'+version-control|update-git-gutter t)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue