gd <Plug>(coc-definition) doesn't work under windows with GIT BASH
- Dominant language
- TypeScript
- Stars
- 217
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I open my `.vim` repository with `coc-vimlsp` as a language server. I've noticed that the `gd (coc-definition)` doesn't work if the file is not opened. However, if I keep the definition file in buffers, it works. How can I configure it to open the definition file if it's not already opened?"

My environment is windows 10 with Git for Windows Bash. Vim version is 9.
The same configuration works under Ubuntu 22.04.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the `gd (coc-definition)` behavior in the reported Windows 10 Git Bash setup, comparing a definition file already in a buffer with one that is not. Start from the coc-vimlsp definition-jump entry point and inspect how the Vim 9 environment opens definition files. Done means the jump opens an unopened definition file under Windows while preserving the working Ubuntu behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, typescript, vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100