Skip to content

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

Waqar Ahmed requested to merge work/lsp-diag-fix into master

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.

Merge request reports