Pārlūkot izejas kodu

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

Peng Lyu 7 gadi atpakaļ
vecāks
revīzija
c4bd2cdd37
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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'],
 		],