language injection

This commit is contained in:
2026-03-07 11:45:48 -08:00
parent 7518c95769
commit 4e2c67c12d
4 changed files with 7357 additions and 7238 deletions

View File

@@ -126,7 +126,7 @@ module.exports = grammar({
// optional doesn't seem to help, so we have an error at void
optional(seq("where", optional(layout($, $.sigDecl)))),
),
jsLitString: $ => /`[^`]+`/,
jsLitString: $ => seq("`",alias(/[^`]+/,$.jsStringFragment),"`"),
deriveDecl: $ => seq("derive", repeat1($.identifier)),
pfuncDecl: ($) => seq(
"pfunc",