You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Highlighter incorrectly inserts character in row conditions #15899
Sometimes, nu-highlight will insert characters which don't exist in the source. I've seen this happen a couple times, but I think it might be confined to row conditions. It happens when typing at the REPL (which is very confusing), but easier to inspect by calling nu-highlight explicitly.
How to reproduce
styling is stripped since github, but you can see the extra parenthesis:
"where not (foo" | nu-highlight)
# => where not ((foo
Activity
132ikl commentedon Jun 5, 2025
this specific example I bisected to #15697 (cc @Bahex)
...but there's probably some underlying issue here because I don't exactly see why that should cause an issue
wherecommand #16129