mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Fix broken comments
This commit is contained in:
parent
29bee2f3ef
commit
18e09b4100
1 changed files with 4 additions and 4 deletions
|
|
@ -211,10 +211,10 @@ export const language = <ILanguage>{
|
||||||
],
|
],
|
||||||
|
|
||||||
comment: [
|
comment: [
|
||||||
[/[^\(comment]+/, 'comment'],
|
[/[^comment\(\)]+/, 'comment'],
|
||||||
[/\)/, 'comment', '@push'],
|
[/\(comment/, 'comment', '@push'],
|
||||||
[/\(comment/, 'comment', '@pop'],
|
[/\)/, 'comment', '@pop'],
|
||||||
[/[\)]/, 'comment'],
|
[/[comment\(\)]/, 'comment'],
|
||||||
],
|
],
|
||||||
|
|
||||||
whitespace: [
|
whitespace: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue