diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:43:03 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:43:03 -0400 |
commit | 6857a43b46be9a1e77ecf64eba19a4398468df7e (patch) | |
tree | cd36c5a8c8bad69b0561e7398512d1d5d0ba95d1 /templates | |
parent | 779672df6f49b46d62eb35ca2caa4095e30aaa32 (diff) |
ctags: adopt
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.ctags | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/.ctags b/templates/.ctags new file mode 100644 index 0000000..ec090c1 --- /dev/null +++ b/templates/.ctags @@ -0,0 +1,18 @@ +--recurse +--exclude=.git +--exclude=node_modules +--exclude=bower_components + +--langdef=typescript +--langmap=typescript:.ts +--regex-typescript=/^[ \t]*(export([ \t]+abstract)?)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\3/c,classes/ +--regex-typescript=/^[ \t]*(declare)?[ \t]*namespace[ \t]+([a-zA-Z0-9_]+)/\2/c,modules/ +--regex-typescript=/^[ \t]*(export)?[ \t]*module[ \t]+([a-zA-Z0-9_]+)/\2/n,modules/ +--regex-typescript=/^[ \t]*(export)?[ \t]*function[ \t]+([a-zA-Z0-9_]+)/\2/f,functions/ +--regex-typescript=/^[ \t]*export[ \t]+(var|let|const)[ \t]+([a-zA-Z0-9_]+)/\2/v,variables/ +--regex-typescript=/^[ \t]*(var|let|const)[ \t]+([a-zA-Z0-9_]+)[ \t]*=[ \t]*function[ \t]*\(\)/\2/v,varlambdas/ +--regex-typescript=/^[ \t]*(export)?[ \t]*(public|protected|private)[ \t]+(static)?[ \t]*([a-zA-Z0-9_]+)/\4/m,members/ +--regex-typescript=/^[ \t]*(export)?[ \t]*interface[ \t]+([a-zA-Z0-9_]+)/\2/i,interfaces/ +--regex-typescript=/^[ \t]*(export)?[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\2/t,types/ +--regex-typescript=/^[ \t]*(export)?[ \t]*enum[ \t]+([a-zA-Z0-9_]+)/\2/e,enums/ +--regex-typescript=/^[ \t]*import[ \t]+([a-zA-Z0-9_]+)/\1/I,imports/ |