After calling :CMakeSelectCwd and pointing it to my project root, everything works fine. But if I then change Neovim's working directory with :cd (or another plugin that calls :cd internally), the cmake plugin's cwd follows along and all further interaction with it breaks - it can no longer find CMakeLists.txt in the originally selected directory.
Steps to reproduce:
:CMakeSelectCwd -> /path/to/folder/containing/CMakeLists.txt
:CMakeBuild - works fine
:cd /some/other/dir
:CMakeBuild - fails, plugin is now looking for CMakeLists.txt in /some/other/dir
Is this intended behavior? If so, is there any way to tell the plugin to keep its cwd fixed after I've explicitly set it with :CMakeSelectCwd, regardless of subsequent changes to Neovim's working directory?
After calling
:CMakeSelectCwdand pointing it to my project root, everything works fine. But if I then change Neovim's working directory with:cd(or another plugin that calls:cdinternally), the cmake plugin's cwd follows along and all further interaction with it breaks - it can no longer find CMakeLists.txt in the originally selected directory.Steps to reproduce:
:CMakeSelectCwd->/path/to/folder/containing/CMakeLists.txt:CMakeBuild- works fine:cd /some/other/dir:CMakeBuild- fails, plugin is now looking for CMakeLists.txt in/some/other/dirIs this intended behavior? If so, is there any way to tell the plugin to keep its cwd fixed after I've explicitly set it with
:CMakeSelectCwd, regardless of subsequent changes to Neovim's working directory?