1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Merge pull request #674 from maujim/feature/compact-option

This commit is contained in:
Caleb Maclennan
2020-10-16 22:28:20 +03:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -1952,7 +1952,7 @@ function! s:PrintKinds(typeinfo, fileinfo) abort
for tag in curtags
call s:PrintTag(tag, 0, output, a:fileinfo, a:typeinfo)
if !g:tagbar_compact
if g:tagbar_compact != 1
call add(output, '')
endif
endfor
@@ -1987,7 +1987,7 @@ function! s:PrintKinds(typeinfo, fileinfo) abort
endfor
endif
if !g:tagbar_compact
if g:tagbar_compact != 1
call add(output, '')
endif
endif

View File

@@ -613,6 +613,11 @@ Setting this option will result in Tagbar omitting the short help at the
top of the window and the blank lines in between top-level scopes in order to
save screen real estate.
Possible values are:
0: Show short help and blank lines between top-level scopes
1: Don't show the short help or the blank lines.
2: Don't show the short help but show the blank lines.
Example:
>
let g:tagbar_compact = 1