bug: Working directory not set correctly with WSL installation (once again?)
Author: 3RafalCreated Oct 23, 2025Updated Mar 10, 2026
Check the following:
- I have tried setting
vscode-neovim.neovimCleanin VSCode settings and restarting VSCode. - I have read the vscode-neovim docs.
- I have searched existing (closed!) issues.
Neovim version (nvim -v)
0.11.4
VSCode version and flavor (Cursor, vscodium, …)
VSCode 1.105.1
Operating system/version
Win 11
Problem (including log messages)
vscode-neovim version: 1.18.24 It is the same behavior as in #2058
Steps To Reproduce
- Install neovim within WSL, and setup the extension
- In WSL terminal directory run
code . - Open file
- Run
:!pwdand get:/mnt/c/Users/rafal/AppData/Local/Programs/Microsoft VS Code
Expected Behavior
expected: project directory path actual: vscode windows installation path
Source: vscode-neovim/vscode-neovim