Hi!
I was seeing an error while trying to obtain a method signature in Neovim using mini.completion:
nvim-mini/mini.nvim#1884
After an excellent analysis of @echasnovski, it seems that Julia LSP is returning something that does not comply with the LSP specification. See the info for the method get:
{
documentation = "",
label = "get(::Base.EnvDict, k::Core.AbstractString, def::Core.Any) in Base at /base/env.jl:165",
parameters = {
{ documentation = "Base.EnvDict", label = "#unused#" },
{ documentation = "Core.AbstractString", label = "k" },
{ documentation = "Core.Any", label = "def"}
}
}
The LSP specification states that label should be a substring of the signature, which is not the case with #unused#.
Hi!
I was seeing an error while trying to obtain a method signature in Neovim using mini.completion:
nvim-mini/mini.nvim#1884
After an excellent analysis of @echasnovski, it seems that Julia LSP is returning something that does not comply with the LSP specification. See the info for the method
get:The LSP specification states that
labelshould be a substring of the signature, which is not the case with#unused#.