Closed lvim-tech closed 3 years ago
The pen-ultimate step, Load bookmark, only changes directory to the bookmarked directory.
Then, over here, loading the saved workspace, say named ws
, works fine.
How come with your setup loading the bookmark directly loads a workspace (which one?). (I suspected it due to let g:CtrlSpaceLoadLastWorkspaceOnStart = 1
but to no avail.)
As an aside, the last commit should make let g:CtrlSpaceLoadLastWorkspaceOnStart = 1
work for custom root dirs without repo root markers.
I decided against loading the last active workspace by default on loading a bookmark (in addition to loading it on Vim startup) if CtrlSpaceLoadLastWorkspaceOnStart = 1
because it will break users' expectactions.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should load my workspace properly.
Screenshots
Version(s) (please complete the following information):
Additional context nvim 0.5 - same problem