helix-mirror/helix-lsp
Robin Jadoul 33b7483db5
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
2022-04-17 12:05:23 +09:00
..
src Send active diagnostics to LSP when requesting code actions. (#2005) 2022-04-17 12:05:23 +09:00
Cargo.toml build(deps): bump lsp-types from 0.92.1 to 0.93.0 (#2084) 2022-04-12 12:12:30 +09:00