X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=blobdiff_plain;f=ctags;fp=ctags;h=855110c214e2be3010ed7a1a8f03a3619ec3634d;hp=535a880d58de8700ed1aabfac247d31adcdc2e10;hb=4e2ee5cc454ea39fcd93270a9d6dfcb9370f5406;hpb=b432593cd0e91f2b0eb9bba5d106b563cd98e916 diff --git a/ctags b/ctags index 535a880..855110c 100644 --- a/ctags +++ b/ctags @@ -2,3 +2,11 @@ -o.tags --excmd=pattern --c-kinds=cdefgmpstuvx +--langdef=objc +--langmap=objc:.m.h +--regex-objc=/^[[:space:]]*[-+][[:space:]]*\([[:alpha:]]+[[:space:]]*\*?\)[[:space:]]*([[:alnum:]]+):[[:space:]]*\(/\1/m,method/ +--regex-objc=/^[[:space:]]*[-+][[:space:]]*\([[:alpha:]]+[[:space:]]*\*?\)[[:space:]]*([[:alnum:]]+)[[:space:]]*\{/\1/m,method/ +--regex-objc=/^[[:space:]]*[-+][[:space:]]*\([[:alpha:]]+[[:space:]]*\*?\)[[:space:]]*([[:alnum:]]+)[[:space:]]*\;/\1/m,method/ +--regex-objc=/^[[:space:]]*\@property[[:space:]]+.*[[:space:]]+\*?(.*);$/\1/p,property/ +--regex-objc=/^[[:space:]]*\@implementation[[:space:]]+(.*)$/\1/c,class/ +--regex-objc=/^[[:space:]]*\@interface[[:space:]]+(.*)[[:space:]]+:.*{/\1/i,interface/