.vimrc

changeset 868
b3beb2c34536
parent 866
091a2a99d7bb
child 874
dc834fea1a3f
equal deleted inserted replaced
867:118c469a1c85 868:b3beb2c34536
394 let g:tagbar_autoclose = 1 394 let g:tagbar_autoclose = 1
395 let g:tagbar_autofocus = 1 395 let g:tagbar_autofocus = 1
396 let g:tagbar_compact = 1 396 let g:tagbar_compact = 1
397 let g:tagbar_width = 30 397 let g:tagbar_width = 30
398 398
399 " adapted from https://gist.github.com/jbolila/7598018 399 " tagbar languages in plugin/tagbar-types.vim
400 let g:tagbar_type_perl = {
401 \ 'ctagstype' : 'Perl',
402 \ 'kinds' : [
403 \ 'p:packages:1:0',
404 \ 'u:uses:1:0',
405 \ 'r:requires:1:0',
406 \ 'e:extends',
407 \ 'w:roles',
408 \ 'o:ours:1:0',
409 \ 'c:constants:1:0',
410 \ 'f:formats:1:0',
411 \ 'a:attributes',
412 \ 'm:methods',
413 \ 's:subroutines',
414 \ 'x:around',
415 \ 'l:aliases',
416 \ 'd:pod:1:0',
417 \ ],
418 \ 'deffile' : g:myvim . '/ctags/perl.cnf'
419 \ }
420
421 let g:tagbar_type_elixir = {
422 \ 'ctagstype' : 'Elixir',
423 \ 'kinds' : [
424 \ 'm:modules:1:0',
425 \ 'r:records',
426 \ 'f:functions',
427 \ 'a:macros',
428 \ 'o:operators',
429 \ 'p:protocols',
430 \ 'i:implementations',
431 \ 'd:delegates',
432 \ 'c:callbacks',
433 \ 'e:exceptions',
434 \ ],
435 \ }
436 400
437 ">> Airline 401 ">> Airline
438 let g:airline#extensions#whitespace#enabled = 0 402 let g:airline#extensions#whitespace#enabled = 0
439 let g:airline_powerline_fonts = 0 403 let g:airline_powerline_fonts = 0
440 404

mercurial