Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Fix #1063: Overly aggressive definition underlining #1070

Merged
merged 7 commits into from
Dec 5, 2017

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Dec 4, 2017

Issue: We are underlining every token, not just ones that actually have a definition provided by a language server.

Defect: The result form of the definition needs two parts - a token and a location. We assumed if we got a result at all, we have a definition, but it's really gated on whether the location is available.

Fix: Update logic to check for location, rather than result, and add a unit test to cover this case.

@bryphe
Copy link
Member Author

bryphe commented Dec 4, 2017

Fixes #1063

@bryphe bryphe merged commit a82651c into master Dec 5, 2017
@bryphe bryphe deleted the bryphe/1063/hover-support branch December 5, 2017 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant