Skip to content

Commit

Permalink
Allow VinegarUp to work correctly with remote URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalton512 authored and tpope committed Jun 27, 2020
1 parent fcce70f commit 5fee9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/vinegar.vim
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function! s:opendir(cmd) abort
elseif expand('%') =~# '^$\|^term:[\/][\/]'
execute a:cmd '.'
else
execute a:cmd '%:h'
execute a:cmd '%:h' . s:slash()
call s:seek(expand('#:t'))
endif
endfunction
Expand Down

0 comments on commit 5fee9d2

Please sign in to comment.