add tagbar plugin

This commit is contained in:
Felix Van der Jeugt 2016-06-12 12:46:35 +02:00
parent 17b345f11b
commit 02832a1c76

View File

@ -72,6 +72,7 @@ Plug 'kassio/neoterm', { 'on': 'T' }
Plug 'mhinz/vim-grepper', { 'on': 'Grepper' }
Plug 'junegunn/vim-peekaboo'
Plug 'ludovicchabant/vim-gutentags'
Plug 'majutsushi/tagbar'
"
Plug 'neovimhaskell/haskell-vim'
call plug#end()
@ -125,6 +126,33 @@ let g:grepper={
\ 'jump': 0,
\ }
nnoremap <Leader>o :Tagbar<CR>
let g:tagbar_autoclose=1
let g:tagbar_autofocus=1
let g:tagbar_sort=0
let g:tagbar_compact=1
let g:tagbar_iconchars=['▸', '▾']
let g:tagbar_type_make={
\ 'kinds': ['m:macros', 't:targets']
\ }
let g:tagbar_type_rust={
\ 'ctagstype': 'rust',
\ 'kinds': [
\ 'n:modules',
\ 's:structs',
\ 'i:interfaces',
\ 'c:implementations',
\ 'f:functions',
\ 'g:enums',
\ 't:typedefs',
\ 'v:variables',
\ 'M:macros',
\ 'm:fields',
\ 'e:enumerators',
\ 'F:methods',
\ ]
\ }
let g:haskell_enable_quantification=1
let g:haskell_enable_recursivedo=1
let g:haskell_enable_arrowsyntax=1