Răsfoiți Sursa

Fix microsoft/monaco-editor#688. (*) is not commet

Peng Lyu 7 ani în urmă
părinte
comite
c4bd2cdd37
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/fsharp.ts

+ 1 - 1
src/fsharp.ts

@@ -121,7 +121,7 @@ export const language = <ILanguage>{
 
 		whitespace: [
 			[/[ \t\r\n]+/, ''],
-			[/\(\*/, 'comment', '@comment'],
+			[/\(\*(?!\))/, 'comment', '@comment'],
 			[/\/\/.*$/, 'comment'],
 		],