diff --git a/src/fsharp.ts b/src/fsharp.ts index 281385b0..26a8da6c 100644 --- a/src/fsharp.ts +++ b/src/fsharp.ts @@ -121,7 +121,7 @@ export const language = { whitespace: [ [/[ \t\r\n]+/, ''], - [/\(\*/, 'comment', '@comment'], + [/\(\*(?!\))/, 'comment', '@comment'], [/\/\/.*$/, 'comment'], ],