-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.ctags
17 lines (17 loc) · 794 Bytes
/
.ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--exclude=.git
--exclude=.svn
--exclude=log
-R
--langdef=protobuf
--langmap=protobuf:.proto
--regex-protobuf=/^message[ \t]*([a-zA-Z0-9_]+)/\1/m,message/
--regex-protobuf=/^[ \t]*(optional|required|repeated)[ \t]*([a-zA-Z0-9_]+)[ \t]*([a-zA-Z0-9_]+)/\3/v,variable/
--langdef=Thrift
--langmap=Thrift:.thrift
--regex-Thrift=/^[ \t]*exception[ \t]+([a-zA-Z0-9_]+)/\1/x,exception/
--regex-Thrift=/^[ \t]*enum[ \t]+([a-zA-Z0-9_]+)/\1/e,enum/
--regex-Thrift=/^[ \t]*struct[ \t]+([a-zA-Z0-9_]+)/\1/s,struct/
--regex-Thrift=/^[ \t]*service[ \t]+([a-zA-Z0-9_]+)/\1/v,service/
--regex-Thrift=/^[ \t]*[0-9]+:[ \t]+([a-zA-Z0-9_]+)[ \t]+([a-zA-Z0-9_]+)/\2/m,member/
--regex-Thrift=/^[ \t]*([a-zA-Z0-9_]+)[ \t]+=/\1/a,value/
--regex-Thrift=/^[ \t]*[a-zA-Z0-9_<>]+[ \t]+([a-zA-Z0-9_]+)[ \t]*\(/\1/f,function/