Skip to content

Commit 25f926a

Browse files
authored
Add Option Compare Database as a valid VBA statement (#124)
1 parent b576301 commit 25f926a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

syntaxes/tests/vba/option.bas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
' ^^^^^^^^^^^^^^^^^^^^^ keyword.other.option.vba
1010
Option Compare Text
1111
' ^^^^^^^^^^^^^^^^^^^ keyword.other.option.vba
12+
Option Compare Database
13+
' ^^^^^^^^^^^^^^^^^^^^^^^ keyword.other.option.vba
1214

1315
Option Explicit
1416
' ^^^^^^^^^^^^^^^ keyword.other.option.vba

syntaxes/vba.yaml-tmlanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ repository:
6363
- name: keyword.other.vba
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
66-
match: (?i)\bOption (Base [01]|Compare (Binary|Text)|Explicit|Private Module)\b
66+
match: (?i)\bOption (Base [01]|Compare (Binary|Text|Database)|Explicit|Private Module)\b
6767
- name: keyword.other.deftype.vba
6868
match: (?i)\b(DefBool|DefByte|DefInt|DefLng|DefLngLng|DefLngPtr|DefCur|DefSng|DefDbl|DefDec|DefDate|DefStr|DefObj|DefVar)\b
6969
- name: keyword.other.visibility.vba

0 commit comments

Comments
 (0)