ilya-biryukov added inline comments. ================ Comment at: clangd/ClangdUnit.cpp:248 + VFS->setCurrentWorkingDirectory(Command.Directory); + ---------------- Also have to call it in `codeComplete`. https://reviews.llvm.org/D35825