fix: recognize Svelte modules and nested each assertions #52

Merged
corneliusio merged 1 commit from release/4.3.1 into master 2026-09-13 05:44:09 +00:00
corneliusio commented 2026-09-13 05:42:34 +00:00 (Migrated from github.com)

Standalone .svelte.js and .svelte.ts files now use the existing rune-aware grammars through JavaScript (Svelte) and TypeScript (Svelte). Each-block lookahead now handles three levels of nested parentheses, tuples, and object types; multiline assertion limitations remain documented.

Adds module regression tests and MDSVEX interaction coverage for headings, lists, blockquotes, and script runes. Updates the README with supported files, dependencies, native test instructions, and the corrected TypeScript MIME example. Schedules weekly CI and pins Less/Sass refs for historical Sublime builds.

Validation: all four syntax-test files pass locally with the official Sublime Text 4211 parser in an isolated Linux container. The three new nesting regressions failed before the grammar fix and pass afterward. CI passed on builds 4143, 4152, 4169, 4180, and latest.

Release target: patch version st4143-4.3.1.

Standalone `.svelte.js` and `.svelte.ts` files now use the existing rune-aware grammars through **JavaScript (Svelte)** and **TypeScript (Svelte)**. Each-block lookahead now handles three levels of nested parentheses, tuples, and object types; multiline assertion limitations remain documented. Adds module regression tests and MDSVEX interaction coverage for headings, lists, blockquotes, and script runes. Updates the README with supported files, dependencies, native test instructions, and the corrected TypeScript MIME example. Schedules weekly CI and pins Less/Sass refs for historical Sublime builds. Validation: all four syntax-test files pass locally with the official Sublime Text 4211 parser in an isolated Linux container. The three new nesting regressions failed before the grammar fix and pass afterward. [CI passed](https://github.com/corneliusio/svelte-sublime/actions/runs/34740913138) on builds 4143, 4152, 4169, 4180, and latest. Release target: patch version `st4143-4.3.1`.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
repos/svelte-sublime!52
No description provided.