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

Remove unnecessary calls to didChange #1119

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

martskins
Copy link
Collaborator

I'm not quite sure if this is correct, but all those calls to text_document_did_change seemed unnecessary to me. While removing those I also noticed that our handle_text_change function doesn't really do anything, it used to have a call to text_document_did_change but at some point that got deleted, and it seems to me like we want to have that there, especially if we're removing the other calls.

This also lets us remove the text parameter from the functions that don't really need it, reducing the size of the message considerably.

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.

None yet

1 participant