typescript.nvim
typescript.nvim copied to clipboard
Possibility of including Go to Source Definition?
Ref: https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/?q=1#go-to-source-definition
Unsure if this plugin can expose above functionality, or if it is just unavailable to us because we're relying on an LSP server and VS Code isn't.
This would have to be implemented in typescript-language-server
since it involves sending a request to tsserver
(which we don't have direct access to in Neovim).
It's a bit of an unusual situation, since to my knowledge there's nothing matching this in the LSP specification, so it would be up to the typescript-language-server
folks to determine if / how they want to handle this feature and expose it. Definitely worth opening an issue there if this is something you're interested in.
Hey @jose-elias-alvarez, this has been added in typescript-language-server (readme, pull request).
Excellent, thanks for the update! I am traveling but will investigate this when I get back. From looking at the PR, I don't think it should be too difficult to add support here.