iamcco / coc-vimlsp

viml language server
216 stars 7 forks source link

gd <Plug>(coc-definition) doesn't work under windows with GIT BASH #56

Open markwu opened 1 year ago

markwu commented 1 year ago

I open my .vim repository with coc-vimlsp as a language server. I've noticed that the gd <Plug>(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?"

image

My environment is windows 10 with Git for Windows Bash. Vim version is 9.

The same configuration works under Ubuntu 22.04.