tools/neotree: fix neotree not opening in the right pwd

This commit is contained in:
Henrik Lissner 2018-02-01 01:31:40 -05:00
parent 7e31d1c5af
commit 7fab94e095
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -5,7 +5,7 @@
"Toggle the neotree window."
(interactive)
(let ((path buffer-file-name)
(project-root (doom-project-root)))
(project-root (doom-project-root 'nocache)))
(require 'neotree)
(cond ((and (neo-global--window-exists-p)
(get-buffer-window neo-buffer-name t))