Skip to content

Commit 36b5de3

Browse files
update
1 parent ff480e5 commit 36b5de3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

JunLang.sublime-syntax

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ file_extensions:
77
- jun
88
- junlang
99

10+
variables:
11+
ident: '[A-Za-z_][A-Za-z_0-9]*'
12+
1013
contexts:
1114
main:
12-
- 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'
1316
scope: keyword.control.junlang
1417
- match: 'note'
1518
push: note
1619
- match: '"'
1720
push: string
21+
- match: '\b{{ident}}\b'
22+
scope: variable.parameter.junlang
1823
string:
1924
- meta_scope: string.quoted.double
2025
- match: '"'

0 commit comments

Comments
 (0)