Skip to content

Commit 17ff264

Browse files
added const and export storage modifiers
1 parent 25b49cb commit 17ff264

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Version 1.4.0
55
Changes:
66
Function highlighting and completions ammended to support 15.5.
77
Void type added.
8+
Added export and const as storage modifiers.
89
Pulled Bonsak's fix for the build command on OSX.
910

1011

VEX.YAML-tmLanguage

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ patterns:
1717
name: punctuation.group.vex
1818
- match: \b(break|continue|do|else|for|foreach|forpoints|function|gather|if|illuminance|return|while)\b
1919
name: keyword.control.vex
20+
- match: \b(const|export)\b
21+
name: storage.modifier.vex
2022
- match: \b(bsdf|char|color|float|int|integer|matrix|matrix2|matrix3|matrix4|normal|point|string|struct|typedef|union|vector|vector2|vector4|void)\b
2123
name: storage.type.builtin.vex
2224
- captures:

VEX.tmLanguage

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
<key>name</key>
5050
<string>keyword.control.vex</string>
5151
</dict>
52+
<dict>
53+
<key>match</key>
54+
<string>\b(const|export)\b</string>
55+
<key>name</key>
56+
<string>storage.modifier.vex</string>
57+
</dict>
5258
<dict>
5359
<key>match</key>
5460
<string>\b(bsdf|char|color|float|int|integer|matrix|matrix2|matrix3|matrix4|normal|point|string|struct|typedef|union|vector|vector2|vector4|void)\b</string>

0 commit comments

Comments
 (0)