Browse Source

csharp: allow styling #r/#load

Sandy Armstrong 9 years ago
parent
commit
c133c2eb2b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/csharp.ts

+ 1 - 0
src/csharp.ts

@@ -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' ],