From 93151f81093f02838e4592b5b35a92af4728f9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:45:00 +0200 Subject: [PATCH] syntax: Prepare a concrete signature example for objective C --- runtime/syntax/objc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/syntax/objc.yaml b/runtime/syntax/objc.yaml index 223d6929..d4cccac3 100644 --- a/runtime/syntax/objc.yaml +++ b/runtime/syntax/objc.yaml @@ -2,6 +2,7 @@ filetype: objective-c detect: 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: - 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"