-
Notifications
You must be signed in to change notification settings - Fork 33
/
hasktags.vim
42 lines (42 loc) · 1.22 KB
/
hasktags.vim
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
let g:tagbar_type_haskell = {
\ 'ctagsbin' : 'hasktags',
\ 'ctagsargs' : '-x -c -o-',
\ 'kinds' : [
\ 'm:modules:0:1',
\ 'd:data:0:1',
\ 'd_gadt:data gadt:0:1',
\ 'nt:newtype:0:1',
\ 'c:classes:0:1',
\ 'i:instances:0:1',
\ 'cons:constructors:0:1',
\ 'c_gadt:constructor gadt:0:1',
\ 'c_a:constructor accessors:1:1',
\ 't:type names:0:1',
\ 'pt:pattern types:0:1',
\ 'pi:pattern implementations:0:1',
\ 'ft:function types:0:1',
\ 'fi:function implementations:0:1',
\ 'o:others:0:1'
\ ],
\ 'sro' : '.',
\ 'kind2scope' : {
\ 'm' : 'module',
\ 'd' : 'data',
\ 'd_gadt' : 'd_gadt',
\ 'c_gadt' : 'c_gadt',
\ 'nt' : 'newtype',
\ 'cons' : 'cons',
\ 'c_a' : 'accessor',
\ 'c' : 'class',
\ 'i' : 'instance'
\ },
\ 'scope2kind' : {
\ 'module' : 'm',
\ 'data' : 'd',
\ 'newtype' : 'nt',
\ 'cons' : 'c_a',
\ 'd_gadt' : 'c_gadt',
\ 'class' : 'ft',
\ 'instance' : 'ft'
\ }
\ }