Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp: adjust to gopls changes #2291

Merged
merged 1 commit into from
May 15, 2019
Merged

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented May 15, 2019

Adjust the handling of gopls completion responses to account for recent
changes where they refactored how completion candidates are formed. Each
candidate has a start position (often before the cursor position) and
the character within the line where the matches begin. Previously, the
cursor position could be used, because candidate returned from gopls
only included the text after the cursor position.

Adjust the handling of gopls completion responses to account for recent
changes where they refactored how completion candidates are formed. Each
candidate has a start position (often _before_ the cursor position) and
the character within the line where the matches begin. Previously, the
cursor position could be used, because candidate returned from gopls
only included the text after the cursor position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant