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 ff480e5 commit 36b5de3Copy full SHA for 36b5de3
JunLang.sublime-syntax
@@ -7,14 +7,19 @@ file_extensions:
7
- jun
8
- junlang
9
10
+variables:
11
+ ident: '[A-Za-z_][A-Za-z_0-9]*'
12
+
13
contexts:
14
main:
- - match: '\b(output|wrap|new|set|input|addition|subtraction|multiplication|division|equal|greater|less|equal_or_greater|equal_or_less|not|if|end-if|loop|end-loop)\b'
15
+ - match: '\b(output|wrap|set|input|addition|subtraction|multiplication|division|equal|greater|less|equal_or_greater|equal_or_less|not|if|end-if|loop|end-loop)\b'
16
scope: keyword.control.junlang
17
- match: 'note'
18
push: note
19
- match: '"'
20
push: string
21
+ - match: '\b{{ident}}\b'
22
+ scope: variable.parameter.junlang
23
string:
24
- meta_scope: string.quoted.double
25
0 commit comments