Repository navigation
Highlight SCSS filters in native Slim - #11
Merged
devin-ai-integration[bot] merged 3 commits intoDec 2, 2026
Merged
Conversation
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
There was a problem hiding this comment.
Note
Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.
Devin Review found 3 findings. Devin fixed 2 findings; 1 finding is left for you to triage below.
Fixed by Devin (2)
- Block comment shortcut ignores SCSS selections — Selecting
color: red;inside a Slim SCSS rule reproduced the no-op. The mounted language now provides SCSS comment delimiters and leaves the standalone indent-on-input hook disabled. Both editor-state regressions pass. - Auto-indent breaks Slim SCSS filters — A typing transaction before a selector’s opening
{reproduced the unwanted dedent. Mounting the bare SCSS grammar preserves highlighting and prevents the standalone indent-on-input hook from changing Slim indentation. The catalog regression checks the exact resulting document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scss:filters with the existing SCSS grammar. Use the first content line's indentation as the filter margin, preserve source offsets, and resume Slim parsing on dedent.Verification
dune build @all,dune runtest,dune build @melange-tests, and native catalog@all @runtestpassed.331925con the same Logseq host source as the baseline (f30d1c6ef). Dedent restored Slim tag styling, and Copy preserved all 106 fixture bytes. Brace auto-indent and block comments are covered at the editor-state boundary.#c00is pink. The native catalog recognizes it as a color token, but the host draws it in body ink. Standalone SCSS reproduced that palette gap on both signed builds.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