mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Don't strip trailing slash from URLs
This commit is contained in:
@@ -2178,7 +2178,7 @@ function! s:Edit(cmd, bang, mods, args, ...) abort
|
||||
catch /^fugitive:/
|
||||
return 'echoerr v:errmsg'
|
||||
endtry
|
||||
if file !~# '^fugitive:'
|
||||
if file !~# '^\a\a\+:'
|
||||
let file = s:sub(file, '/$', '')
|
||||
endif
|
||||
if a:cmd ==# 'edit'
|
||||
|
||||
Reference in New Issue
Block a user