Explorar o código

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

Peng Lyu %!s(int64=7) %!d(string=hai) anos
pai
achega
c4bd2cdd37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'],
 		],