Skip to content

Improve Elixir brackets and indents - #60

Merged
MrSubidubi merged 2 commits into
zed-extensions:mainfrom
AlternateRT:brackets-indents-improvements
Feb 25, 2026
Merged

MrSubidubi merged 2 commits into
zed-extensions:mainfrom
AlternateRT:brackets-indents-improvements

Conversation

@AlternateRT

@AlternateRT AlternateRT commented Feb 7, 2026

Copy link
Copy Markdown
Collaborator
  • Scopes all brackets so that detection only happens where it should
  • Adds detection for bitstring delimiters
  • Adds detection for interpolation delimiters
  • Adds detection for all sigil delimiters
  • Adds detection for all charlist delimiters
  • Adds detection for anonymous function delimiters
  • Adds auto-indents to lists, blocks, tuples, maps, bitstrings, and parentheses
  • Exclude bracket colorization for interpolations, bitstrings, strings, charlists, and sigils
  • Adds auto-outdents to after, catch, else, and rescue keywords

- Scopes all brackets so that detection only happens where it should
- Adds detection for bitstring delimiters
- Adds detection for interpolation delimiters
- Adds detection for all sigil delimiters
- Adds detection for all charlist delimiters
- Adds detection for anonymous function delimiters
- Adds auto-indents to lists, blocks, tuples, maps, bitstrings,
  and parentheses
- Exclude bracket colorization for interpolations, bitstrings,
  strings, charlists, and sigils
@cla-bot cla-bot Bot added the cla-signed label Feb 7, 2026

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

❤️

@MrSubidubi
MrSubidubi merged commit c2d2ec2 into zed-extensions:main Feb 25, 2026
5 checks passed
@AlternateRT
AlternateRT deleted the brackets-indents-improvements branch February 25, 2026 16:03
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