mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-08 16:06:15 +08:00
Small reformattings
This commit is contained in:
parent
8d72cedc41
commit
8e6d6355d0
|
@ -157,7 +157,7 @@ function! s:OpenWindow()
|
|||
endif
|
||||
|
||||
let openpos = g:tagbar_left ? 'topleft vertical ' : 'botright vertical '
|
||||
execute 'silent! keepalt ' . openpos . g:tagbar_width . 'split ' . '__Tagbar__'
|
||||
exe 'silent! keepalt ' . openpos . g:tagbar_width . 'split ' . '__Tagbar__'
|
||||
|
||||
setlocal noreadonly " in case the "view" mode is used
|
||||
setlocal buftype=nofile
|
||||
|
@ -627,7 +627,8 @@ function! s:RenderContent(fname, ftype)
|
|||
|
||||
" Print tags
|
||||
for kind in typeinfo.kinds
|
||||
let curtags = filter(copy(fileinfo.tags), 'v:val.fields.kind == kind[0]')
|
||||
let curtags = filter(copy(fileinfo.tags),
|
||||
\ 'v:val.fields.kind == kind[0]')
|
||||
|
||||
if empty(curtags)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user