yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
484 stars 56 forks source link

Goto Defintion seems broken #402

Closed trev-dev closed 1 year ago

trev-dev commented 1 year ago

I'm using two of the most annoying LSP servers, which seems to make this harder. These servers are volar for vue3 and JDTLS for a spring boot/lombok project.

I have tested my config against Neovim's built-in LSP server and confirmed these functions work there with the same initializationOptions

Generally speaking :LspGotoDefinition works only part of the time. It seems to work ok for files in the source tree, but not for library symbols...but :LspHover works on all of the symbols. The error message I get on failure is: Warning: symbol definition is not found

LSP Configuration: https://git.sr.ht/~trevdev/vim/tree/vim9lsp/item/plugins.vim#L50

trev-dev commented 1 year ago

I bet this is a similar issue to: https://github.com/yegappan/lsp/issues/403