Skip to content
Commit 49f999df authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lsp: always honor server when using Completion.textEdit.newText

If server is specifying a different range start than what we have,
perfer the server always.

Only do this if Completion.textEdit.newText is the text we are going to
insert. With pure insertText things are generally simpler.

This fixes issues with dart-analyzer and typescript-language-server

BUG: 468130
(cherry picked from commit bb949250)
parent f483635e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment