forked from jponge/vim-golo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgolo.vim
More file actions
44 lines (42 loc) · 1.15 KB
/
golo.vim
File metadata and controls
44 lines (42 loc) · 1.15 KB
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
"
" Vim configuration for Golo
"
" Set the compiler
compiler golo
" Tagbar configuration
if exists(':Tagbar')
if !exists('g:tagbar_type_golo')
let g:tagbar_type_golo = {
\ 'ctagsbin' : 'golo',
\ 'ctagsargs' : 'doc --format ctags --output -',
\ 'kinds' : [
\ 'p:Module',
\ 'i:Imports',
\ 'a:Augments',
\ 'na:Named Augmentations',
\ 's:Structs',
\ 'v:Module States',
\ 'f:Functions',
\ 'd:Macros',
\ 'm:fields',
\ 'g:Union',
\ 'e:value',
\ ],
\ 'sro' : ' ',
\ 'kind2scope' : {
\ 's' : 'struct',
\ 'g' : 'union',
\ 'a' : 'augment',
\ 'na' : 'augmentation',
\ 'e' : 'value',
\ },
\ 'scope2kind' : {
\ 'union': 'g',
\ 'struct' : 's',
\ 'augment' : 'a',
\ 'augmentation' : 'na',
\ 'value': 'e',
\}
\ }
endif
endif