Skip to content

Split keyword captures into subgroups#108

Merged
AlternateRT merged 1 commit intomainfrom
keyword-highlights
Mar 30, 2026
Merged

Split keyword captures into subgroups#108
AlternateRT merged 1 commit intomainfrom
keyword-highlights

Conversation

@AlternateRT
Copy link
Copy Markdown
Collaborator

This introduces the backwards compatible captures:

  • @keyword.definition
  • @keyword.import
  • @keyword.control.conditional
  • @keyword.control.repeat
  • @keyword.exception
  • @keyword.operator
  • @keyword.operator.regex (used by the ~r sigil modifiers)

Additionally, this also defines the @label.modifier capture for all other sigil modifiers

This introduces the backwards compatible captures:
- `@keyword.definition`
- `@keyword.import`
- `@keyword.control.conditional`
- `@keyword.control.repeat`
- `@keyword.exception`
- `@keyword.operator`
- `@keyword.operator.regex` (used by the `~r` sigil modifiers)

Additionally, this also defines the `@label.modifier` capture for all
other sigil modifiers
@cla-bot cla-bot bot added the cla-signed label Mar 30, 2026
@AlternateRT AlternateRT enabled auto-merge (squash) March 30, 2026 06:48
@AlternateRT AlternateRT merged commit fc11bb3 into main Mar 30, 2026
10 checks passed
@AlternateRT AlternateRT deleted the keyword-highlights branch March 30, 2026 06:50
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.

1 participant