Fix broken comments

pull/2748/head
masad-frost 7 years ago
parent 29bee2f3ef
commit 18e09b4100

@ -211,10 +211,10 @@ export const language = <ILanguage>{
],
comment: [
[/[^\(comment]+/, 'comment'],
[/\)/, 'comment', '@push'],
[/\(comment/, 'comment', '@pop'],
[/[\)]/, 'comment'],
[/[^comment\(\)]+/, 'comment'],
[/\(comment/, 'comment', '@push'],
[/\)/, 'comment', '@pop'],
[/[comment\(\)]/, 'comment'],
],
whitespace: [

Loading…
Cancel
Save