diff options
author | David Runge <david.runge@frqrec.com> | 2014-10-31 18:38:19 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-10-31 18:38:19 +0100 |
commit | 9d3df302b8cb5f6291100efcefcb1feea282fbc2 (patch) | |
tree | 742917aa49467d11c79c7a4c18d72014dabe74f2 | |
parent | 1db0d2235a223534ce363ae1f82b68fd29ae7ea6 (diff) | |
download | dotfiles-9d3df302b8cb5f6291100efcefcb1feea282fbc2.tar.gz dotfiles-9d3df302b8cb5f6291100efcefcb1feea282fbc2.tar.bz2 dotfiles-9d3df302b8cb5f6291100efcefcb1feea282fbc2.tar.xz dotfiles-9d3df302b8cb5f6291100efcefcb1feea282fbc2.zip |
ctags: Adding yadr .ctags configuration file to repository.
-rw-r--r-- | .ctags | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +--langdef=js +--langmap=js:.js +--regex-JavaScript=/([A-Za-z0-9._$\(\)]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/m,method/ +--regex-JavaScript=/([A-Za-z0-9._$\#\(\)]+)[ \t]*[:][ \t]*([A-Za-z0-9._\-\#\'\"]+)[ \t]*/\1/p,property/ +--regex-JavaScript=/([A-Za-z0-9._$\#\(\)]+)[ \t]*[:][ \t]*([A-Za-z0-9\'\"._\-\#\(]+)[ \t]*\{/\1/p,property/ +--regex-JavaScript=/var ([A-Za-z0-9._$\#]+)[ \t]*[=][ \t]*([A-Za-z0-9._'"\$\#\[\{]+)[,|;]/\1/v,variable/ +--regex-JavaScript=/([A-Za-z0-9._$\#]+)[ \t]*[=][ \t]*([A-Za-z0-9._'"\$\#]+)extend\(/\1/c,class/ + +--regex-ruby=/(^|[:;])[ \t]*([A-Z][[:alnum:]_]+) *=/\2/c,class,constant/ +--regex-ruby=/(^|;)[ \t]*(has_many|belongs_to|has_one|has_and_belongs_to_many)\(? *:([[:alnum:]_]+)/\3/f,function,association/ +--regex-ruby=/(^|;)[ \t]*(named_)?scope\(? *:([[:alnum:]_]+)/\3/f,function,named_scope/ +--regex-ruby=/(^|;)[ \t]*expose\(? *:([[:alnum:]_]+)/\2/f,function,exposure/ +--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2/f,function,aasm_event/ +--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2!/f,function,aasm_event/ +--regex-ruby=/(^|;)[ \t]*event\(? *:([[:alnum:]_]+)/\2?/f,function,aasm_event/ + +--langdef=markdown +--langmap=markdown:.md.markdown.mdown.mkd.mkdn +--regex-markdown=/^#[ \t]+(.*)/\1/h,heading1/ +--regex-markdown=/^##[ \t]+(.*)/\1/h,heading2/ +--regex-markdown=/^###[ \t]+(.*)/\1/h,heading3/ + +--langdef=coffee +--langmap=coffee:.coffee +--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=.*->.*$/\1/f,function/ +--regex-coffee=/^[ \t]*([A-Za-z.]+)[ \t]+=[^->\n]*$/\1/v,variable/ |