Skip to content

Highlight multiline wrapped HAML and Slim attributes - #5

Merged
devin-ai-integration[bot] merged 4 commits into
masterfrom
fix/native-template-wrapped-attributes
Nov 30, 2026
Merged

devin-ai-integration[bot] merged 4 commits into
masterfrom
fix/native-template-wrapped-attributes

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Carry an open attribute wrapper across lines in the Logseq native HAML and Slim providers, including blank lines in Slim.
  • Resume normal template parsing after the closing delimiter so trailing Ruby and subsequent tags receive their usual highlighting.
  • Cover both providers with a regression fixture that checks attribute names, Ruby expressions, and UTF-16 offsets around emoji. Individual attribute values remain line-local.

Validation

  • dune build @all @melange-tests and dune runtest
  • dune build --root integrations/logseq-native-modes @all @runtest using the built CodeMirror ML libraries

Link to Devin session: https://app.devin.ai/sessions/97b992ac6a93453796bebbf311e43f75
Open in Devin Desktop: https://app.devin.ai/desktop/session/97b992ac6a93453796bebbf311e43f75?variant=devin
Requested by: @tiensonqin


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit 65d812a into master Nov 30, 2026
5 checks passed
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.

1 participant