LanguageClient-neovim icon indicating copy to clipboard operation
LanguageClient-neovim copied to clipboard

Remove unnecessary calls to didChange

Open martskins opened this issue 5 years ago • 0 comments

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.

martskins avatar Oct 28 '20 21:10 martskins