mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix neotree always changing root
This commit is contained in:
@ -9,7 +9,6 @@
|
|||||||
(require 'neotree)
|
(require 'neotree)
|
||||||
(cond ((and (neo-global--window-exists-p)
|
(cond ((and (neo-global--window-exists-p)
|
||||||
(get-buffer-window neo-buffer-name t))
|
(get-buffer-window neo-buffer-name t))
|
||||||
(neotree-hide)
|
|
||||||
(neotree-find path project-root))
|
(neotree-find path project-root))
|
||||||
((not (and (neo-global--window-exists-p)
|
((not (and (neo-global--window-exists-p)
|
||||||
(equal (file-truename (neo-global--with-buffer neo-buffer--start-node))
|
(equal (file-truename (neo-global--with-buffer neo-buffer--start-node))
|
||||||
|
Reference in New Issue
Block a user