2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
nushell/crates/nu-lsp/src
Marc Schreiber 41119d3f88
Fix "Char index out of bounds" Error ()
# 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 .

# User-Facing Changes

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