mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/neotree: fix neotree not opening in the right pwd
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user