We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3ae73 commit 0d3924bCopy full SHA for 0d3924b
2 files changed
Syntax/Just.sublime-syntax
@@ -210,7 +210,7 @@ contexts:
210
2: meta.generic-name.just
211
212
modules:
213
- - match: ^(mod)(\??)(\s+\w+)
+ - match: ^(mod)(\??)\s+({{valid_name}})
214
scope: meta.statement.mod.just
215
captures:
216
1: keyword.control.import.just
Syntax/tests/syntax_test_just.include.just
@@ -20,5 +20,12 @@ mod foo2 'somewhere/else' # comment
20
# ^ string.quoted.single.just punctuation.definition.string.begin.just
21
# ^^^^^^^^^^^^^^^ string.quoted.single.just
22
23
+mod foo3 f'fail{{}}'
24
+# ^^ invalid.illegal.just
25
+
26
+mod? foo4 """testme"""
27
+# ^^^^ meta.statement.mod.just meta.generic-name.just
28
+# ^^^^^^^^^^^^ string.quoted.double.block.just
29
30
mod a `yes`
31
# ^ invalid.illegal.just
0 commit comments