mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-25 18:07:07 +09:00
syntax: Prepare a concrete signature example for objective C
This commit is contained in:
@@ -2,6 +2,7 @@ filetype: objective-c
|
|||||||
|
|
||||||
detect:
|
detect:
|
||||||
filename: "\\.(m|mm|h)$"
|
filename: "\\.(m|mm|h)$"
|
||||||
|
signature: "(obj|objective)-c|#import|@(encode|end|interface|implementation|selector|protocol|synchronized|try|catch|finally|property|optional|required|import|autoreleasepool)"
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- type: "\\b(float|double|CGFloat|id|bool|BOOL|Boolean|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline|Class|SEL|IMP|NS(U)?Integer)\\b"
|
- type: "\\b(float|double|CGFloat|id|bool|BOOL|Boolean|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline|Class|SEL|IMP|NS(U)?Integer)\\b"
|
||||||
|
|||||||
Reference in New Issue
Block a user