Skip to content

fix: different highlighting for quoted/unquoted string in path - #233

Merged
fdncred merged 1 commit into
nushell:mainfrom
blindFS:highlighting
Oct 24, 2025
Merged

fix: different highlighting for quoted/unquoted string in path#233
fdncred merged 1 commit into
nushell:mainfrom
blindFS:highlighting

Conversation

@blindFS

@blindFS blindFS commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

#232 made foo and "bar" in the following snippet identically highlighted, which is not ideal on second thought.

$.foo."bar"

This PR reverts the aliasing of #232, so that they can be visually different.
It also fixes a bug in the highlighting query for "?!" in path nodes.

@fdncred
fdncred merged commit 47d4b4f into nushell:main Oct 24, 2025
4 checks passed
@fdncred

fdncred commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

Thanks

@blindFS
blindFS deleted the highlighting branch October 24, 2025 15:26
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.

2 participants