Update Objc Rules
This commit is contained in:
parent
d22ab48d7c
commit
8b1404bd4e
4 changed files with 55 additions and 54 deletions
|
|
@ -118,16 +118,10 @@ var c_cppHighlightRules = function() {
|
|||
regex : "<[a-zA-Z0-9.]+>"
|
||||
}, {
|
||||
token : "keyword", // pre-compiler directivs
|
||||
regex : "(?:#include|#pragma|#line|#define|#undef|#ifdef|#else|#elif|#endif|#ifndef)"
|
||||
regex : "(?:#include|#import|#pragma|#line|#define|#undef|#ifdef|#else|#elif|#endif|#ifndef)"
|
||||
}, {
|
||||
token : "support.function.C99.c",
|
||||
regex : cFunctions
|
||||
}, {
|
||||
// function myFunc(arg) { }
|
||||
token : [
|
||||
"text", "entity.name.function", "text", "paren.lparen"
|
||||
],
|
||||
regex : "(\\s+)(" + identifierRe + ")(\\s*)(\\()"
|
||||
}, {
|
||||
token : keywordMapper,
|
||||
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue