Skip to content

Commit 1b97d16

Browse files
committed
Add slash suffix if not have
1 parent 1ec7eac commit 1b97d16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/gist.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ if !exists('g:gist_api_url')
6060
endif
6161
endif
6262
endif
63+
if g:gist_api_url !~ '/$'
64+
let g:gist_api_url .= '/'
65+
endif
6366

6467
if !exists('g:gist_update_on_write')
6568
let g:gist_update_on_write = 1

0 commit comments

Comments
 (0)