Fix go to definition with neovim 0.5

pull/29/head
Mickaël Menu 3 years ago
parent 7122f7e461
commit 19f6009997
No known key found for this signature in database
GPG Key ID: 53D73664CD359895

@ -302,7 +302,9 @@ func NewServer(opts ServerOpts) *Server {
return nil, err
}
if isTrue(clientCapabilities.TextDocument.Definition.LinkSupport) {
// FIXME: Waiting for https://github.com/tliron/glsp/pull/3 to be
// merged before using LocationLink.
if false && isTrue(clientCapabilities.TextDocument.Definition.LinkSupport) {
return protocol.LocationLink{
OriginSelectionRange: &link.Range,
TargetURI: target,

Loading…
Cancel
Save