Merge pull request #359 from dsdshcym/fix-matchit-or-toggle-fold-in-magit-major-modes
feature/evil: fix +evil/matchit-or-toggle-fold in magit modes
This commit is contained in:
commit
ad59665a3d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
||||||
(interactive)
|
(interactive)
|
||||||
(ignore-errors
|
(ignore-errors
|
||||||
(call-interactively
|
(call-interactively
|
||||||
(cond ((eq major-mode 'magit-status-mode)
|
(cond ((derived-mode-p 'magit-mode)
|
||||||
#'magit-section-toggle)
|
#'magit-section-toggle)
|
||||||
((+evil-fold-p)
|
((+evil-fold-p)
|
||||||
#'+evil:fold-toggle)
|
#'+evil:fold-toggle)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue