Skip to content

Fix deleted lowercase in keybinding parsing#14081

Merged
IanManske merged 2 commits intonushell:mainfrom
IanManske:fix-keybinding-merge
Oct 13, 2024
Merged

Fix deleted lowercase in keybinding parsing#14081
IanManske merged 2 commits intonushell:mainfrom
IanManske:fix-keybinding-merge

Conversation

@IanManske
Copy link
Copy Markdown
Member

Description

Adds back the to_ascii_lowercase deleted in #13802. Also fixes the error messages having the lowercased value instead of the original value.

@IanManske IanManske marked this pull request as ready for review October 13, 2024 18:22
Copy link
Copy Markdown
Member

@sholderbach sholderbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks spotting and fixing that immediately!

Is there something wrong with the span logic, as the error message seem by @Yethal pointed into the void?

@IanManske
Copy link
Copy Markdown
Member Author

I was wondering that as well. I assume it's related to the assignment code. The config update only has access to the value span. I can look into it later today.

@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Oct 13, 2024

Should we go ahead and land this one? or should we wait for Ian's research?

@IanManske
Copy link
Copy Markdown
Member Author

I can do a follow-up PR, so I'll merge this.

@IanManske IanManske merged commit a0f38f8 into nushell:main Oct 13, 2024
@hustcer hustcer added this to the v0.99.0 milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants