Skip to content

Commit 96eb66e

Browse files
committed
Require word boundaries around keywords.
1 parent 6ba00cf commit 96eb66e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

syntaxes/aidl.tmLanguage.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ repository:
241241
- name: punctuation.separator.parameter.method.aidl
242242
match: ','
243243
- name: storage.modifier.aidl
244-
match: (in|out|inout)
244+
match: \b(in|out|inout)\b
245245
- include: '#type'
246246
- name: variable.parameter.aidl
247247
match: '[_a-zA-Z][_a-zA-Z0-9]*'

syntaxes/aidl.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
},
503503
{
504504
"name": "storage.modifier.aidl",
505-
"match": "(in|out|inout)"
505+
"match": "\\b(in|out|inout)\\b"
506506
},
507507
{
508508
"include": "#type"

0 commit comments

Comments
 (0)