Skip to content

fix(ruby): adjust specifity of word characters - #336

Merged
vitallium merged 2 commits into
zed-extensions:mainfrom
AlternateRT:adjust-word-characters
Sep 23, 2026
Merged

vitallium merged 2 commits into
zed-extensions:mainfrom
AlternateRT:adjust-word-characters

Conversation

@AlternateRT

Copy link
Copy Markdown
Contributor

Only treat ! and ? as word characters when used in identifiers, symbols, hash key symbols, or the defined? method

Only treat `!` and `?` as word characters when used in identifiers,
symbols, hash key symbols, or the `defined?` method
@cla-bot cla-bot Bot added the cla-signed label Sep 19, 2026

@vitallium vitallium left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great! I left just one suggestion about extending the capture to support more scenarios. Happy to hear your thoughts.

Side note: I think we have an issue with our CI configuration, as I’m pretty sure the changes in this PR should cause our snapshot tests to fail.

Comment thread languages/ruby/overrides.scm
@vitallium

Copy link
Copy Markdown
Collaborator

Thanks you!

@vitallium
vitallium merged commit fa1acd1 into zed-extensions:main Sep 23, 2026
5 checks passed
@AlternateRT
AlternateRT deleted the adjust-word-characters branch September 23, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants