Skip to content

Commit

Permalink
syntax: Prepare a concrete signature example for objective C.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKar committed Sep 9, 2023
1 parent 5863584 commit 6d84ec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/syntax/objc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ filetype: objective-c

detect:
filename: "\\.(m|mm|h)$"
signature: "(obj|objective)-c|#import|@(encode|end|interface|implementation|class|selector|protocol|synchronized|try|catch|finally|property|optional|required|import|autoreleasepool)"

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"
Expand Down

0 comments on commit 6d84ec1

Please sign in to comment.