Skip to content

Commit b16c5db

Browse files
committed
add autogroup to tagbar settings
1 parent 89e745c commit b16c5db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.vimrc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,12 @@ let Tlist_Compact_Format = 1
431431
"====[ Tagbar plugin ]==================================================
432432
let g:tagbar_autoshowtag = 1
433433
let g:tagbar_autopreview = 0
434-
let g:tagbar_silent = 0
435-
autocmd VimEnter * nested :call tagbar#autoopen(1)
434+
let g:tagbar_silent = 1
435+
"let g:tagbar_ctags_options = ['./ctag-options']
436+
augroup Tagbar_group
437+
autocmd!
438+
autocmd VimEnter * nested :call tagbar#autoopen(1)
439+
augroup END
436440

437441
"====[ airline ]=========================================================
438442
" use powerline fonts to show beautiful symbols

0 commit comments

Comments
 (0)