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

Merge pull request #360 from ChesleyTan/master

Escape filename in ShowInPreviewWin()
This commit is contained in:
Jan Larres
2016-11-04 10:23:12 +13:00
committed by GitHub

View File

@@ -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