Thu, 16 Mar 2023 12:30:42 -0500
Fix stopinsert
1029
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
1 | " adapted from https://gist.github.com/jbolila/7598018 |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
2 | let g:tagbar_type_perl = { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
3 | \ 'ctagstype' : 'Perl', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
4 | \ 'kinds' : [ |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
5 | \ 'p:packages:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
6 | \ 'u:uses:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
7 | \ 'r:requires:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
8 | \ 'e:extends', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
9 | \ 'w:roles', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
10 | \ 'o:ours:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
11 | \ 'c:constants:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
12 | \ 'f:formats:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
13 | \ 'a:attributes', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
14 | \ 'm:methods', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | \ 's:subroutines', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | \ 'x:modifier', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | \ 'l:aliases', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
18 | \ 'd:pod:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
19 | \ ], |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | \ 'deffile' : stdpath("config") . '/tagbar/perl.cnf' |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
21 | \ } |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
22 | |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
23 | let g:tagbar_type_elixir = { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
24 | \ 'ctagstype' : 'Elixir', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
25 | \ 'kinds' : [ |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
26 | \ 'm:modules:1:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
27 | \ 'r:records', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
28 | \ 'f:functions', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
29 | \ 'a:macros', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
30 | \ 'o:operators', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
31 | \ 'p:protocols', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
32 | \ 'i:implementations', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
33 | \ 'd:delegates', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
34 | \ 'c:callbacks', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
35 | \ 'e:exceptions', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
36 | \ ], |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
37 | \ } |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
38 | |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
39 | " https://github.com/jstemmer/gotags |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
40 | let g:tagbar_type_go = { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
41 | \ 'ctagstype' : 'go', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
42 | \ 'kinds' : [ |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
43 | \ 'p:package', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
44 | \ 'i:imports:1', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
45 | \ 'c:constants', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
46 | \ 'v:variables', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
47 | \ 't:types', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
48 | \ 'n:interfaces', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
49 | \ 'w:fields', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
50 | \ 'e:embedded', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
51 | \ 'm:methods', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
52 | \ 'r:constructor', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
53 | \ 'f:functions' |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
54 | \ ], |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
55 | \ 'sro' : '.', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
56 | \ 'kind2scope' : { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
57 | \ 't' : 'ctype', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
58 | \ 'n' : 'ntype' |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
59 | \ }, |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
60 | \ 'scope2kind' : { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
61 | \ 'ctype' : 't', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
62 | \ 'ntype' : 'n' |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
63 | \ }, |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
64 | \ 'ctagsbin' : 'gotags', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
65 | \ 'ctagsargs' : '-sort -silent' |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
66 | \ } |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
67 | |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
68 | " https://github.com/wsdjeg/mdctags.rs |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
69 | let g:tagbar_type_markdown = { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
70 | \ 'ctagsbin' : 'mdctags', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
71 | \ 'ctagsargs' : '', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
72 | \ 'sort' : 0, |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
73 | \ 'kinds' : [ |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
74 | \ 'a:h1:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
75 | \ 'b:h2:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
76 | \ 'c:h3:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
77 | \ 'd:h4:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
78 | \ 'e:h5:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
79 | \ 'f:h6:0:0', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
80 | \ ], |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
81 | \ 'sro' : '::', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
82 | \ 'kind2scope' : { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
83 | \ 'a' : 'h1', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
84 | \ 'b' : 'h2', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
85 | \ 'c' : 'h3', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
86 | \ 'd' : 'h4', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
87 | \ 'e' : 'h5', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
88 | \ 'f' : 'h6', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
89 | \ }, |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
90 | \ 'scope2kind' : { |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
91 | \ 'h1' : 'a', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
92 | \ 'h2' : 'b', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
93 | \ 'h3' : 'c', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
94 | \ 'h4' : 'd', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
95 | \ 'h5' : 'e', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
96 | \ 'h6' : 'f', |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
97 | \} |
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
98 | \} |