mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-27 12:16:22 +03:00
small tweak in objective c highlight
This commit is contained in:
parent
d437ae0ecf
commit
51b88bef10
@ -81,8 +81,7 @@ addhl -group /cpp/code regex "\<(const|constexpr|mutable|auto|namespace|inline|s
|
||||
addhl -group /objc/code regex %{\<(self|nil|id|super|TRUE|FALSE|YES|NO|NULL)\>|\<-?\d+[fdiu]?|'((\\.)?|[^'\\])'} 0:value
|
||||
addhl -group /objc/code regex "\<(void|int|char|unsigned|float|bool|size_t|instancetype|BOOL|NSInteger|NSUInteger|CGFloat|NSString)\>" 0:type
|
||||
addhl -group /objc/code regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return)\>" 0:keyword
|
||||
addhl -group /objc/code regex "\<(const|auto|inline|static|volatile|struct|enum|union|typedef|extern|__block|@\w+)\>" 0:attribute
|
||||
addhl -group /objc/code regex "\<(nonatomic|assign|copy|strong|retain|weak|readonly)\>" 0:attribute
|
||||
addhl -group /objc/code regex "\<(const|auto|inline|static|volatile|struct|enum|union|typedef|extern|__block|nonatomic|assign|copy|strong|retain|weak|readonly)\>" 0:attribute
|
||||
addhl -group /objc/code regex "@(property|synthesize|interface|implementation|protocol|end|selector|autoreleasepool|try|catch|class|synchronized)\>" 0:attribute
|
||||
addhl -group /objc/code regex "\<(IBAction|IBOutlet)\>" 0:attribute
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user