Fix mismatched quotes

References https://github.com/tpope/vim-fugitive/issues/844
This commit is contained in:
Tim Pope
2016-11-13 19:02:27 -05:00
parent b3a8be6975
commit b754bc2031

View File

@@ -2321,7 +2321,7 @@ function! s:Browse(bang,line1,count,...) abort
if empty(url) && raw ==# '.'
call s:throw("Instaweb failed to start")
elseif empty(url)
call s:throw('"'.remote."' is not a supported remote")
call s:throw("'".remote."' is not a supported remote")
endif
let url = s:gsub(url, '[ <>]', '\="%".printf("%02X",char2nr(submatch(0)))')