Skip to content

Commit f6c587e

Browse files
committed
Merge pull request #258 from thatsmydoing/master
Fix switching to buffers with protocols
2 parents 28fce0f + f8df0f3 commit f6c587e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,7 @@ fu! s:isabs(path)
19411941
endf
19421942

19431943
fu! s:bufnrfilpath(line)
1944-
if s:isabs(a:line) || a:line =~ '^\~[/\\]'
1944+
if s:isabs(a:line) || a:line =~ '^\~[/\\]' || a:line =~ '^\w\+:\/\/'
19451945
let filpath = a:line
19461946
el
19471947
let filpath = s:dyncwd.s:lash().a:line

0 commit comments

Comments
 (0)