fix(treemacs): ignore default popup rules

Fix: #7128
This commit is contained in:
David Adams 2023-03-04 22:26:59 +08:00 committed by Henrik Lissner
parent 8f6b045dfd
commit 8be11ff48c

View file

@ -29,6 +29,7 @@ This must be set before `treemacs' has loaded.")
;; Don't follow the cursor
(treemacs-follow-mode -1)
(set-popup-rule! "^ ?\\*Treemacs" :ignore t)
(when +treemacs-git-mode
;; If they aren't supported, fall back to simpler methods
(when (and (memq +treemacs-git-mode '(deferred extended))