Skip to content

Commit

Permalink
fixed property and function definitions to reference sub pattern of m…
Browse files Browse the repository at this point in the history
…odiferKeywords instead of otherKeywords
  • Loading branch information
peters-ben-0007 committed Oct 10, 2014
1 parent a49c182 commit c63d385
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions vbdotnet.JSON-tmLanguage
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "name": "VB.NET",
"scopeName": "source.vbnet",
"fileTypes": ["vb"],
"scopeName": "source.vbnet",
"fileTypes": ["vb"],
"patterns": [
{ "include": "#singleLineComment" },
{ "include": "#region" },
Expand Down Expand Up @@ -148,7 +148,7 @@
"3": { "name": "punctuation.definition.parameters.property.vbnet" }
},
"patterns": [
{ "include": "#otherKeywords" },
{ "include": "#modifierKeywords" },
{ "include": "#supportTypes" }
],
"end": "(\\))?\\s*",
Expand All @@ -170,7 +170,7 @@
"4": { "name": "punctuation.definition.parameters.vbnet" }
},
"patterns": [
{ "include": "#otherKeywords" },
{ "include": "#modifierKeywords" },
{ "include": "#supportTypes" }
],
"end": "(\\))?\\s*",
Expand All @@ -185,7 +185,7 @@
"lambdaDefinition":{
"match": "(?i:function|sub)",
"name": "support.type.lambda.vbnet"
},
},
"inheritanceModifiers":{
"name": "storage.modifier.inheritance.vbnet",
"match": "(?i:overloads|overrides|overridable|notoverridable|mustoverride|mustoverride overrides|notoverridable overrides|overloads overrides|mustinherit|notinheritable)"
Expand Down Expand Up @@ -214,4 +214,4 @@
}
},
"uuid": "975d5447-0eb5-444c-a471-5934193ca1ea"
}
}
4 changes: 2 additions & 2 deletions vbdotnet.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
<array>
<dict>
<key>include</key>
<string>#otherKeywords</string>
<string>#modifierKeywords</string>
</dict>
<dict>
<key>include</key>
Expand Down Expand Up @@ -423,7 +423,7 @@
<array>
<dict>
<key>include</key>
<string>#otherKeywords</string>
<string>#modifierKeywords</string>
</dict>
<dict>
<key>include</key>
Expand Down

0 comments on commit c63d385

Please sign in to comment.