We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de690fa commit 061abbbCopy full SHA for 061abbb
grammar.js
@@ -334,7 +334,7 @@ module.exports = grammar({
334
)
335
),
336
seq(
337
- alias(token.immediate(/[A-Z]+/), $.sigil_name),
+ alias(token.immediate(/[A-Z][A-Z0-9]*/), $.sigil_name),
338
choice(
339
$._quoted_double,
340
$._quoted_single,
test/corpus/expression/sigil.txt
@@ -194,10 +194,18 @@ upper sigil / multiple characters
194
=====================================
195
196
~MAT"1 2"
197
+~I18N"text"
198
+~A1B2"text"
199
200
---
201
202
(source
203
+ (sigil
204
+ (sigil_name)
205
+ (quoted_content))
206
207
208
209
(sigil
210
(sigil_name)
211
(quoted_content)))
0 commit comments