Skip to content

Commit

Permalink
Fix Async and Iterator modifiers to be contextual
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyDGreen committed Aug 4, 2017
1 parent 9c9b760 commit 3c9329a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vbdotnet.JSON-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"repository": {
"keyword-a": {
"name": "keyword.other.vbnet",
"match": "(?i)(?<![.!])(AddHandler|AddressOf|Aggregate|Alias|And|AndAlso|Ansi|As|Ascending|Assembly|Async(?=\\s+(Sub|Function))|Auto|Await)\\b",
"comment": "keywords A"
},
"keyword-b": {
Expand Down Expand Up @@ -78,6 +79,7 @@
},
"keyword-i": {
"name": "keyword.other.vbnet",
"match": "(?i)(?<![.!])(If|Implements|Imports|In|(?<=Option)\\s+Infer|Inherits|Integer|Interface|Into|Is|IsNot|Iterator(?=\\s+(Function|Property)))\\b",
"comment": "keywords I"
},
"keyword-j": {
Expand Down
2 changes: 2 additions & 0 deletions vbdotnet.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
<key>comment</key>
<string>keywords A</string>
<key>match</key>
<string>(?i)(?&lt;![.!])(AddHandler|AddressOf|Aggregate|Alias|And|AndAlso|Ansi|As|Ascending|Assembly|Async(?=\s+(Sub|Function))|Auto|Await)\b</string>
<key>name</key>
<string>keyword.other.vbnet</string>
</dict>
Expand Down Expand Up @@ -284,6 +285,7 @@
<key>comment</key>
<string>keywords I</string>
<key>match</key>
<string>(?i)(?&lt;![.!])(If|Implements|Imports|In|(?&lt;=Option)\s+Infer|Inherits|Integer|Interface|Into|Is|IsNot|Iterator(?=\s+(Function|Property)))\b</string>
<key>name</key>
<string>keyword.other.vbnet</string>
</dict>
Expand Down

0 comments on commit 3c9329a

Please sign in to comment.