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 daf837d commit 640c703Copy full SHA for 640c703
JunLang.sublime-syntax
@@ -0,0 +1,27 @@
1
+%YAML 1.2
2
+---
3
+name: JunLang
4
+scope: source.junlang
5
+
6
+file_extensions:
7
+ - jun
8
9
+contexts:
10
+ main:
11
+ - 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'
12
+ scope: keyword.control
13
+ - match: 'note'
14
+ push: note
15
+ - match: '"'
16
+ push: string
17
+ string:
18
+ - meta_scope: string.quoted.double
19
20
+ scope: string.quoted.double
21
+ pop: true
22
+ - match: \\.
23
+ scope: constant.character.escape
24
+ note:
25
+ - meta_scope: comment.line
26
+ - match: '\n'
27
0 commit comments