Skip to content

Commit

Permalink
Merge pull request #670 from ivanz/fix-highlighting-md-arrays
Browse files Browse the repository at this point in the history
Highlight "string[]", "string []", "string[,]", "string [,]", "string…
  • Loading branch information
DustinCampbell authored Aug 17, 2016
2 parents 41be44a + 94d54e2 commit 1c06c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
]
},
"parameters": {
"begin": "\\b(ref|params|out)?\\s*\\b([\\w?\\[\\]]+(?:\\s*<.*?>)?)\\s+(\\w+)\\s*(=)?",
"begin": "\\b(ref|params|out)?\\s*\\b([\\w?]+(?:\\s*\\[\\s*,?\\s*\\])?(?:\\s*<.*?>)?)\\s+(\\w+)\\s*(=)?",
"beginCaptures": {
"1": {
"name": "storage.type.modifier.cs"
Expand Down

0 comments on commit 1c06c9d

Please sign in to comment.