Skip to content

Commit 7b59fe2

Browse files
committed
Fixing <* comments
1 parent 6e45870 commit 7b59fe2

File tree

6 files changed

+9
-21
lines changed

6 files changed

+9
-21
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Makefile
33
.DS_Store
44
*.vsix
55
dist/
6-
.vscode/
6+
.vscode/
7+
.claude

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "C3 Language Support for VSCode - Syntax Highlighting and Code Snippets",
55
"publisher": "c3",
66
"repository": "https://github.com/c3lang/vscode-c3.git",
7-
"version": "0.2.5",
7+
"version": "0.2.6",
88
"engines": {
99
"vscode": "^1.75.0"
1010
},

syntaxes/c3.tmLanguage.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,8 +1272,7 @@
12721272
"name": "comment.block.documentation.c3"
12731273
},
12741274
{
1275-
"begin": "([\"`])",
1276-
"end": "\\1",
1275+
"match": "`[^`]*`|\"[^\"]*\"",
12771276
"name": "comment.block.documentation.c3"
12781277
}
12791278
]
@@ -1335,8 +1334,7 @@
13351334
"name": "comment.block.documentation.c3"
13361335
},
13371336
{
1338-
"begin": "([\"`])",
1339-
"end": "\\1",
1337+
"match": "`[^`]*`|\"[^\"]*\"",
13401338
"name": "comment.block.documentation.c3"
13411339
}
13421340
]

syntaxes/c3.tmLanguage.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,7 @@ repository:
647647
name: comment.block.documentation.c3
648648
- match: ':'
649649
name: comment.block.documentation.c3
650-
- begin: '(["`])'
651-
end: '\1'
650+
- match: '`[^`]*`|"[^"]*"'
652651
name: comment.block.documentation.c3
653652
- begin: '(<\*)'
654653
beginCaptures:
@@ -677,8 +676,7 @@ repository:
677676
name: comment.block.documentation.c3
678677
- match: ':'
679678
name: comment.block.documentation.c3
680-
- begin: '(["`])'
681-
end: '\1'
679+
- match: '`[^`]*`|"[^"]*"'
682680
name: comment.block.documentation.c3
683681

684682
type_suffix:

syntaxes/c3.vscode.tmLanguage.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,8 +1272,7 @@
12721272
"name": "comment.block.documentation.c3"
12731273
},
12741274
{
1275-
"begin": "([\"`])",
1276-
"end": "\\1",
1275+
"match": "`[^`]*`|\"[^\"]*\"",
12771276
"name": "comment.block.documentation.c3"
12781277
}
12791278
]
@@ -1335,8 +1334,7 @@
13351334
"name": "comment.block.documentation.c3"
13361335
},
13371336
{
1338-
"begin": "([\"`])",
1339-
"end": "\\1",
1337+
"match": "`[^`]*`|\"[^\"]*\"",
13401338
"name": "comment.block.documentation.c3"
13411339
}
13421340
]

0 commit comments

Comments
 (0)