mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
<https://github.com/helix-editor/helix/pull/11486> introduced a Location type in the LSP commands module which unified helpers like `jump_to_location`. This change moves `OffsetEncoding` onto that type. `SymbolInformationItem` and `PickerDiagnostic` already had fields for carrying the offset encoding. We would want a similar setup for goto definition/references as well (for supporting multiple language servers with that feature) but those use the `Location` type. By moving `OffsetEncoding` onto `Location` we make future changes to allow mulitple language servers possible for goto definition/references features and also simplify some calls for symbols and diagnostics. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
build.rs | ||
Cargo.toml |