Some editors (for some reason) move the CWD in and out of various directories when hooking into an LSP. This patches an issue where an editor moves into the src subdirectory, then tries to look for the build directory from within that subdir (and fails to find it, breaking LSP-integration).
Some editors (for some reason) move the CWD in and out of various directories when hooking into an LSP. This patches an issue where an editor moves into the
src
subdirectory, then tries to look for thebuild
directory from within that subdir (and fails to find it, breaking LSP-integration).