csharp: allow styling #r/#load

This commit is contained in:
Sandy Armstrong 2016-08-30 14:19:46 -07:00
parent c4a322c1b1
commit c133c2eb2b

View file

@ -166,6 +166,7 @@ export var language = <ILanguage> {
], ],
whitespace: [ whitespace: [
[/^[ \t\v\f]*#((r)|(load))(?=\s)/, 'directive.csx' ],
[/^[ \t\v\f]*#\w.*$/, 'namespace.cpp' ], [/^[ \t\v\f]*#\w.*$/, 'namespace.cpp' ],
[/[ \t\v\f\r\n]+/, ''], [/[ \t\v\f\r\n]+/, ''],
[/\/\*/, 'comment', '@comment' ], [/\/\*/, 'comment', '@comment' ],