mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 04:43:48 +01:00
41119d3f88
# 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.
7 lines
125 B
Plaintext
7 lines
125 B
Plaintext
#!/usr/bin/env nu
|
|
|
|
# Important to reproduce the crash
|
|
# use a non ascii char somewhere in comments: è
|
|
|
|
[a b c d] | filter {
|