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 11' SYNTAX TEST "source.vba" "main syntax test"
22
3+ DefInt A-Z
4+ ' <------ keyword.other.deftype.vba
5+
36Attribute VB_Name = "SyntaxTest"
47' <--------- keyword.other.vba
58
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ repository:
6464 match : (?i:\b(Attribute|Call|End (Function|Property|Sub|Type|Enum)|(Const|Function|Property|Sub|Type|Enum)|Declare|PtrSafe|WithEvents|Event|RaiseEvent|Implements)\b)
6565 - name : keyword.other.option.vba
6666 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
6769 - name : keyword.other.visibility.vba
6870 match : (?i:\b(Private|Public|Global|Friend)\b)
6971 - name : constant.language.vba
You can’t perform that action at this time.
0 commit comments