When I try to access the definition of a symbol defined in an external library with vim.lsp.buf.definition nothing happens. It works as expected when I run the function on symbols defined in the local project.
It should be possible to reproduce this by running gd on the String class from Java's standard library.
Expected Result
The definition of the String class should be opened in a new buffer.
LSP client configuration
Eclipse.jdt.ls version
1.25.0
Steps to Reproduce
When I try to access the definition of a symbol defined in an external library with
vim.lsp.buf.definition
nothing happens. It works as expected when I run the function on symbols defined in the local project.It should be possible to reproduce this by running
gd
on theString
class from Java's standard library.Expected Result
The definition of the
String
class should be opened in a new buffer.Actual Result
Nothing happens (not even an error).