Skip to content

Commit

Permalink
shellescape file passes to external xdg-open
Browse files Browse the repository at this point in the history
  • Loading branch information
Konfekt committed May 3, 2016
1 parent c08a920 commit 5846617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/pandoc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ A description of the available configuration variables follows:
let g:pandoc#command#custom_open = "MyPandocOpen"

function! MyPandocOpen(file)
return "xdg-open ". a:file
return 'xdg-open ' . shellescape(expand(a:file,':p'))
endfunction

- *g:pandoc#command#autoexec_on_writes*
Expand Down

0 comments on commit 5846617

Please sign in to comment.