Skip to content
Commit 605af64d authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lsp: Dont request diagnostic fixes for full doc range as fallback

If we don't have a selection, send the cursor position instead. If we
send the full doc range then some servers send over fixes for the full
document which then get inserted under one diagnostic.

The new behaviour matches the behaviour of vscode.

(cherry picked from commit 2c9122a6)
parent cfff3a13
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