nushell/crates/nu-lsp/src
Marc Schreiber 41119d3f88
Fix "Char index out of bounds" Error (#11526)
# Description

The code that converts Nushell's span into LSP line and character
indices accidentally treated the span as character indices while they
are byte indices. Fixes #11522.

# User-Facing Changes

None, just a bugfix.
2024-01-11 15:24:49 -06:00
..
diagnostics.rs Fix "Char index out of bounds" Error (#11526) 2024-01-11 15:24:49 -06:00
lib.rs Fix "Char index out of bounds" Error (#11526) 2024-01-11 15:24:49 -06:00
notification.rs Fix "Char index out of bounds" Error (#11526) 2024-01-11 15:24:49 -06:00