Fix `l` keybinding in neotree to open in MRU window

Fixes #9794
This commit is contained in:
syl20bnr 2018-05-11 01:28:58 -04:00
parent 4cc57dea74
commit 79824060c1
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@
(when neo-auto-indent-point
(next-line)
(neo-point-auto-indent)))
(call-interactively 'neotree-enter)))))
(let ((mru-winum (winum-get-number (get-mru-window))))
(apply 'neotree-enter (list mru-winum)))))))
(defun spacemacs/neotree-collapse ()
"Collapse a neotree node."