feature/evil: improve neotree popup integration

This commit is contained in:
Henrik Lissner 2017-05-16 17:39:42 +02:00
parent aeb2f23a3e
commit b679a86452
2 changed files with 19 additions and 2 deletions

View file

@ -83,7 +83,14 @@
mu4e-view-mode
org-tree-slide-mode
+regex-mode)
#'doom-buffer-mode))
#'doom-buffer-mode)
(after! neotree
(defun +doom|neotree-fix-popup ()
"Ensure the fringe settings are maintained on popup restore."
(neo-global--when-window
(doom--neotree-no-fringes)))
(add-hook 'doom-popup-mode-hook #'+doom|neotree-fix-popup nil t)))
;; Flashes the line around the cursor after any motion command that might