diff options
| author | James Hurst <jamesrhurst@users.noreply.github.com> | 2014-07-24 09:08:52 -0400 |
|---|---|---|
| committer | James Hurst <jamesrhurst@users.noreply.github.com> | 2014-07-24 09:08:52 -0400 |
| commit | 8a7b0fa939c4e1ae8dcbba941ab4d46a3602b9fe (patch) | |
| tree | bc8f267b8ebfcea835c1772dba81a97054cd1450 | |
| parent | e70ee120bf70d5b6195c2b355b9820a8609564cf (diff) | |
| download | rust-8a7b0fa939c4e1ae8dcbba941ab4d46a3602b9fe.tar.gz rust-8a7b0fa939c4e1ae8dcbba941ab4d46a3602b9fe.zip | |
Improved the tags impl regex
| -rw-r--r-- | src/etc/ctags.rust | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/ctags.rust b/src/etc/ctags.rust index b42edf7579a..59a2ae205cb 100644 --- a/src/etc/ctags.rust +++ b/src/etc/ctags.rust @@ -7,5 +7,5 @@ --regex-Rust=/^[ \t]*(pub[ \t]+)?mod[ \t]+([a-zA-Z0-9_]+)/\2/m,modules,module names/ --regex-Rust=/^[ \t]*(pub[ \t]+)?static[ \t]+([a-zA-Z0-9_]+)/\2/c,consts,static constants/ --regex-Rust=/^[ \t]*(pub[ \t]+)?trait[ \t]+([a-zA-Z0-9_]+)/\2/t,traits,traits/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?impl([ \t\n]+<.*>)?[ \t]+([a-zA-Z0-9_]+)/\3/i,impls,trait implementations/ +--regex-Rust=/^[ \t]*(pub[ \t]+)?impl([ \t\n]*<[^>]*>)?[ \t]+(([a-zA-Z0-9_:]+)[ \t]*(<[^>]*>)?[ \t]+(for)[ \t]+)?([a-zA-Z0-9_]+)/\4 \6 \7/i,impls,trait implementations/ --regex-Rust=/^[ \t]*macro_rules![ \t]+([a-zA-Z0-9_]+)/\1/d,macros,macro definitions/ |
