directives arent comments

This commit is contained in:
Yash-Singh1
2021-08-22 10:06:37 -07:00
parent bcb8031c8f
commit 3f843f29bf
+1 -1
View File
@@ -96,7 +96,7 @@ export const initEditor = (monacoEditor): void => {
[/#(\d|[a-zA-Z])*;/, 'html.entity/hex-color-code'],
[/#(?:[0-9a-fA-F]{3}){1,2}/, 'html.entity/hex-color-code'],
[/<<.+>>/, 'annotation'],
[/%%.*$/, 'comment']
[/%%.*(?<!%%)$/, 'comment']
]
},
whitespace: [[/[ \t\r\n]+/, 'white']]