diff options
author | Robin Jadoul | 2022-04-17 03:05:23 +0000 |
---|---|---|
committer | GitHub | 2022-04-17 03:05:23 +0000 |
commit | 33b7483db53684cdd0a36f873662f8d6ff163201 (patch) | |
tree | 5a8323631f0b95e2030d755432893dcf57ce8b39 /languages.toml | |
parent | 2eca2901f31083af85ffd6f299c64ad80a8bfaf5 (diff) |
Send active diagnostics to LSP when requesting code actions. (#2005)
* Send active diagnostics to LSP when requesting code actions.
This allows for e.g. clangd to properly send the quickfix code actions
corresponding to those diagnostics as options.
The LSP spec v3.16.0 introduced an opaque `data` member that would allow
the server to persist arbitrary data between the diagnostic and the code
actions request, but this is not supported yet by this commit.
* Reuse existing range_to_lsp_range functionality
Diffstat (limited to 'languages.toml')
0 files changed, 0 insertions, 0 deletions