helix/helix-term
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
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs publish a source tarball with version and grammars (#1875) 2022-03-29 14:34:19 +09:00
Cargo.toml Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00