Explorar o código

csharp: allow styling #r/#load

Sandy Armstrong %!s(int64=9) %!d(string=hai) anos
pai
achega
c133c2eb2b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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' ],