Skip to content

Conversation

@vitallium
Copy link
Collaborator

Update HAML grammar to v0.1.0 that includes the following features and bug fixes:

Added

  1. Implement object reference syntax [] (vitallium/tree-sitter-haml@06fc1d9)
  2. Support additional doctypes (vitallium/tree-sitter-haml@90a6526)
  3. Allow escaping with backslash (vitallium/tree-sitter-haml@67fb083)
  4. Add whitespace control operators > and < (vitallium/tree-sitter-haml@4064f4b)
  5. Add Ruby operators &= and ~ (vitallium/tree-sitter-haml@c51ded3)
  6. Permit empty attribute values (vitallium/tree-sitter-haml@10d9e42)
  7. Parse Ruby blocks that span multiple lines (vitallium/tree-sitter-haml@31164f1)

Fixed

  1. Ignore blank lines when tracking indentation (vitallium/tree-sitter-haml@cc26459)
  2. Serialize using 16-bit indent values (vitallium/tree-sitter-haml@19ef5fd)
  3. Handle CRLF and CR-only line endings in the scanner (vitallium/tree-sitter-haml@710f899)
  4. Improve Ruby interpolation to cope with nested braces (vitallium/tree-sitter-haml@275ae4e)

@vitallium vitallium requested a review from davidcornu October 27, 2025 19:36
@vitallium
Copy link
Collaborator Author

@davidcornu Hi! Would you mind reviewing this PR? Thanks!

Copy link
Owner

@davidcornu davidcornu left a comment

Choose a reason for hiding this comment

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

Did a quick check on all the changes and looks good 👍

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.

3 participants