-
Notifications
You must be signed in to change notification settings - Fork 4
/
.ctags
58 lines (51 loc) · 3.58 KB
/
.ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
--langdef=latex
--langmap=latex:.tex,latex:.sty,latex:.cls
--regex-latex=/^[ \t]*\\label\{([^}]*)\}/\1/l,label/
--regex-latex=/^[ \t]*\\section\{([^}]*)\}/\1/s,section1/
--regex-latex=/^[ \t]*\\subsection\{([^}]*)\}/. \1/u,subsection/
--regex-latex=/^[ \t]*\\subsubsection\{([^}]*)\}/. \1/b,subsubsection/
--regex-latex=/^[ \t]*\\[re]{0,1}newcommand\{\\([^}]*)\}/\1/d,definition/
--regex-latex=/^[ \t]*\\[re]{0,1}newenvironment\{([^}]*)\}/\1/d,definition/
--regex-latex=/^[ \t]*\\DeclareRobustCommand\{\\([^}]*)\}/\1/d,definition/
--regex-latex=/^[ \t]*\\begin\{([^}]*)\}/\1/e,environment/
--langdef=wiki
--langmap=wiki:.wiki
--regex-wiki=/^=[ \t]+(.+)[ \t]+=$/\1/h,header1/
--regex-wiki=/^==[ \t]+(.+)[ \t]+==$/. \1/h,header2/
--regex-wiki=/^===[ \t]+(.+)[ \t]+===$/. \1/h,header3/
--regex-wiki=/^====[ \t]+(.+)[ \t]+====$/. \1/h,header4/
--regex-wiki=/^=====[ \t]+(.+)[ \t]+=====$/. \1/h,header5/
--regex-wiki=/^======[ \t]+(.+)[ \t]+======$/. \1/h,header6/
--langdef=md
--langmap=md:.md
--regex-md=/^#[ \t]+(.*)/\. \1/h,heading1/
--regex-md=/^##[ \t]+(.*)/\.\. \1/h,heading2/
--regex-md=/^###[ \t]+(.*)/\.\.\. \1/h,heading3/
--regex-md=/^####[ \t]+(.*)/\.\.\. \1/h,heading4/
--langdef=css
--langmap=css:.css
--regex-css=/^[ \t]*\.([ .:#A-Za-z0-9_-]+)[,{][ \t]*$/.\1/c,class/
--regex-css=/^[ \t]*#([ .:#A-Za-z0-9_-]+)[,{][ \t]*$/#\1/i,id/
--regex-css=/^[ \t]*([:A-Za-z0-9_-][ :#A-Za-z0-9_-]*)[,{][ \t]*$/\1/t,tag/
--regex-css=/^[ \t]*@media\s+(.+)[,{][ \t]*$/\1/m,media/
--regex-css=/^[ \t]*@font-face[ \t]*[,{][ \t]*$/font-face/f,font/
--regex-css=/^[ \t]*@(-o-|-moz-|-webkit-){0,1}keyframes[ \t]*([A-Za-z0-9_-]+)[ \t]*[,{][ \t]*$/\1keyframes \2/k,keyframe/
--regex-html=/<[ \t]*[A-Za-z]+[^\/>]*class=['"]([^'"]*)['"][^\/>]*>/.\1/c,class/
--regex-html=/<[ \t]*[A-Za-z]+[^\/>]*id=['"]([^'"]*)['"][^\/>]*>/#\1/i,id/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*\{/\5/o,object/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*function[ \t]*\(/\5/f,function/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*\[/\5/a,array/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*[^"]'[^']*/\5/s,string/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*(true|false)/\5/b,boolean/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*[0-9]+/\5/n,number/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*=[ \t]*.+([,;=]|$)/\5/v,variable/
--regex-javascript=/(,|(;|^)[ \t]*(var|let|([A-Za-z_$][A-Za-z0-9_$.]+\.)*))[ \t]*([A-Za-z0-9_$]+)[ \t]*[ \t]*([,;]|$)/\5/v,variable/
--regex-javascript=/function[ \t]+([A-Za-z0-9_$]+)[ \t]*\([^)]*\)/\1/f,function/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*\{/\2/o,object/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*function[ \t]*\(/\2/f,function/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*\[/\2/a,array/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*[^"]'[^']*/\2/s,string/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*(true|false)/\2/b,boolean/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*[0-9]+/\2/n,number/
--regex-javascript=/(,|^)[ \t]*([A-Za-z_$][A-Za-z0-9_$]+)[ \t]*:[ \t]*[^=]+([,;]|$)/\2/v,variable/
--langmap=c++:+.cu