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?"
My environment is windows 10 with Git for Windows Bash. Vim version is 9.
I open my
.vim
repository withcoc-vimlsp
as a language server. I've noticed that thegd <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?"My environment is windows 10 with Git for Windows Bash. Vim version is 9.
The same configuration works under Ubuntu 22.04.