We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a7851 commit eb55234Copy full SHA for eb55234
1 file changed
plugin/mdip.vim
@@ -237,8 +237,7 @@ function! mdip#MarkdownClipboardImage()
237
else
238
" let relpath = s:SaveNewFile(g:mdip_imgdir, tmpfile)
239
let extension = split(tmpfile, '\.')[-1]
240
- let sep = has('win32') ? '\' : '/'
241
- let relpath = g:mdip_imgdir_intext . sep . g:mdip_tmpname . '.' . extension
+ let relpath = g:mdip_imgdir_intext . '/' . g:mdip_tmpname . '.' . extension
242
if call(get(g:, 'PasteImageFunction'), [relpath])
243
return
244
endif
0 commit comments