neotree: neo-global--with-window => neo-global--with-buffer
This commit is contained in:
parent
718a84bc68
commit
ff10cc9458
|
@ -13,7 +13,7 @@
|
|||
(neotree-hide)
|
||||
(let ((project-root (doom/project-root)))
|
||||
(unless (and (neo-global--window-exists-p)
|
||||
(f-same? (neo-global--with-window neo-buffer--start-node) project-root))
|
||||
(f-same? (neo-global--with-buffer neo-buffer--start-node) project-root))
|
||||
(neotree-dir project-root))
|
||||
(neotree-find path project-root)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user