Skip to content

Commit 1c06c9d

Browse files
Merge pull request #670 from ivanz/fix-highlighting-md-arrays
Highlight "string[]", "string []", "string[,]", "string [,]", "string…
2 parents 41be44a + 94d54e2 commit 1c06c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/csharp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
]
503503
},
504504
"parameters": {
505-
"begin": "\\b(ref|params|out)?\\s*\\b([\\w?\\[\\]]+(?:\\s*<.*?>)?)\\s+(\\w+)\\s*(=)?",
505+
"begin": "\\b(ref|params|out)?\\s*\\b([\\w?]+(?:\\s*\\[\\s*,?\\s*\\])?(?:\\s*<.*?>)?)\\s+(\\w+)\\s*(=)?",
506506
"beginCaptures": {
507507
"1": {
508508
"name": "storage.type.modifier.cs"

0 commit comments

Comments
 (0)