Преглед изворни кода

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

Peng Lyu пре 7 година
родитељ
комит
c4bd2cdd37
1 измењених фајлова са 1 додато и 1 уклоњено
  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'],
 		],