mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
csharp: allow styling #r/#load
This commit is contained in:
parent
c4a322c1b1
commit
c133c2eb2b
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ export var language = <ILanguage> {
|
|||
],
|
||||
|
||||
whitespace: [
|
||||
[/^[ \t\v\f]*#((r)|(load))(?=\s)/, 'directive.csx' ],
|
||||
[/^[ \t\v\f]*#\w.*$/, 'namespace.cpp' ],
|
||||
[/[ \t\v\f\r\n]+/, ''],
|
||||
[/\/\*/, 'comment', '@comment' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue