Fix neotree always changing root
This commit is contained in:
parent
33428bca89
commit
8bacb2512a
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue