mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00: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.
6 lines
125 B
Text
6 lines
125 B
Text
#!/usr/bin/env nu
|
|
|
|
# Important to reproduce the crash
|
|
# use a non ascii char somewhere in comments: è
|
|
|
|
[a b c d] | filter {
|