Also fnameescape() if opening multiple files
This commit is contained in:
parent
ca6915e420
commit
2c4113999d
|
@ -472,6 +472,7 @@ function! s:open_buffers(cword) abort
|
|||
|
||||
for val in values(s:marked)
|
||||
let [path, type] = val[1:2]
|
||||
let path = fnameescape(path)
|
||||
|
||||
if line2byte('$') == -1
|
||||
" open in current window
|
||||
|
|
Loading…
Reference in a new issue