Merge pull request #939 from zaiste/fix-deadgrep-fold

Allow `deadgreap` folding in normal mode
This commit is contained in:
Henrik Lissner 2018-10-15 00:24:48 -04:00 committed by GitHub
commit 3155fb27c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,8 @@ Otherwise, jump to the matching delimiter with `evilmi-jump-items'."
(call-interactively
(cond ((derived-mode-p 'magit-mode)
#'magit-section-toggle)
((derived-mode-p 'deadgrep-mode)
#'deadgrep-toggle-file-results)
((+evil-from-eol (invisible-p (point)))
#'+evil/fold-toggle)
(#'evilmi-jump-items)))))