File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
' SYNTAX TEST "source.vba" "main syntax test"
2
2
3
+ DefInt A-Z
4
+ ' <------ keyword.other.deftype.vba
5
+
3
6
Attribute VB_Name = "SyntaxTest"
4
7
' <--------- keyword.other.vba
5
8
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ repository:
64
64
match : (?i:\b(Attribute|Call|End (Function|Property|Sub|Type|Enum)|(Const|Function|Property|Sub|Type|Enum)|Declare|PtrSafe|WithEvents|Event|RaiseEvent|Implements)\b)
65
65
- name : keyword.other.option.vba
66
66
match : (?i)\bOption (Base [01]|Compare (Binary|Text)|Explicit|Private Module)\b
67
+ - name : keyword.other.deftype.vba
68
+ match : (?i)\b(DefBool|DefByte|DefInt|DefLng|DefLngLng|DefLngPtr|DefCur|DefSng|DefDbl|DefDec|DefDate|DefStr|DefObj|DefVar)\b
67
69
- name : keyword.other.visibility.vba
68
70
match : (?i:\b(Private|Public|Global|Friend)\b)
69
71
- name : constant.language.vba
You can’t perform that action at this time.
0 commit comments