lsp-declaration not defined?
L-as opened this issue · comments
Las Safin commented
It is mentioned in the README but I can't find it in the source code.
Johannes Altmanninger commented
Looksl like it's not implemented. It's textDocument/declaration which is very similar to textDocument/definition.
I wonder whi LSP clients and servers implement it and if it's useful in practice. With clangd, lsp-definition toggles between the defintion and declaration which is good enough maybe?
Las Safin commented
ocaml-lsp implements it FWIW, hence why I wanted to use it.
Johannes Altmanninger commented
implemented in 2c6fdd2 (untested but it should work), thanks
Las Safin commented
Thank you!