Skip to content

Commit

Permalink
Support multiple single quotes in a row
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Sep 6, 2024
1 parent 16ecdbb commit c7489e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/brightscript.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@
]
},
"bsdoc_generic": {
"match": "(?i:\\s*(rem|')\\s*(@)(\\w+)(.*$))",
"match": "(?i:\\s*(rem|'+)\\s*(@)(\\w+)(.*$))",
"captures": {
"1": {
"name": "comment.line.apostrophe.brs"
Expand All @@ -1028,7 +1028,7 @@
}
},
"bsdoc_param_and_type": {
"match": "(?i:\\s*(rem|')\\s*(@)(param|type)\\s*(?:(\\{)\\s*([^\\}]+)\\s*(\\}))?\\s*([a-z0-9_.]+)?(.*))",
"match": "(?i:\\s*(rem|'+)\\s*(@)(param|type)\\s*(?:(\\{)\\s*([^\\}]+)\\s*(\\}))?\\s*([a-z0-9_.]+)?(.*))",
"captures": {
"1": {
"name": "comment.line.apostrophe.brs"
Expand Down

0 comments on commit c7489e1

Please sign in to comment.