Given the following situation:
I have a file on my D-drive, and I added a project (D:/foo/bar) to Treemacs.
When opening the file D:/foo/bar/baz, Treemacs didn't recognize the file was followed in Treemacs.
I went down the line and found treemacs--project-of-buffer was nil. Eventually I found this line:
|
(when path (setf treemacs--project-of-buffer (treemacs-is-path path :in-workspace))))) |
It sends path was d:/foo/bar/baz, so treemacs-is-path returned nil.
Switching the drive letter to d instead of D fixed the issue.
Given the following situation:
I have a file on my D-drive, and I added a project (D:/foo/bar) to Treemacs.
When opening the file D:/foo/bar/baz, Treemacs didn't recognize the file was followed in Treemacs.
I went down the line and found
treemacs--project-of-bufferwasnil. Eventually I found this line:treemacs/src/elisp/treemacs-workspaces.el
Line 190 in 5fa8419
It sends
pathwasd:/foo/bar/baz, sotreemacs-is-pathreturnednil.Switching the drive letter to
dinstead ofDfixed the issue.