mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Merge pull request #9 from sandyarmstrong/csx-directives-ms
csharp: allow styling #r/#load
This commit is contained in:
commit
e13d89495f
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