mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-23 10:21:00 +08:00
Escape filename in ShowInPreviewWin()
This commit is contained in:
parent
1287f63545
commit
8bbbb0530e
|
@ -3255,7 +3255,8 @@ function! s:ShowInPreviewWin() abort
|
|||
" explicitly before the :psearch below to better control its positioning.
|
||||
if !pwin_open
|
||||
silent execute
|
||||
\ g:tagbar_previewwin_pos . ' pedit ' . taginfo.fileinfo.fpath
|
||||
\ g:tagbar_previewwin_pos . ' pedit ' .
|
||||
\ fnameescape(taginfo.fileinfo.fpath)
|
||||
if g:tagbar_vertical != 0
|
||||
silent execute 'vertical resize ' . g:tagbar_width
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user