We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebc568c + 017bd68 commit 5e40e55Copy full SHA for 5e40e55
autoload/ctrlp.vim
@@ -2015,7 +2015,7 @@ fu! s:bufnrfilpath(line)
2015
let filpath = s:dyncwd.s:lash().a:line
2016
en
2017
let filpath = fnamemodify(filpath, ':p')
2018
- let bufnr = bufnr('^'.filpath.'$')
+ let bufnr = bufnr('^'.fnameescape(filpath).'$')
2019
if (!filereadable(filpath) && bufnr < 1)
2020
if (a:line =~ '[\/]\?\[\d\+\*No Name\]$')
2021
let bufnr = str2nr(matchstr(a:line, '[\/]\?\[\zs\d\+\ze\*No Name\]$'))
0 commit comments