tools/neotree: fix neotree not opening in the right pwd
This commit is contained in:
parent
7e31d1c5af
commit
7fab94e095
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
"Toggle the neotree window."
|
"Toggle the neotree window."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((path buffer-file-name)
|
(let ((path buffer-file-name)
|
||||||
(project-root (doom-project-root)))
|
(project-root (doom-project-root 'nocache)))
|
||||||
(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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue