Skip to content

Commit

Permalink
Fix Can't open file error
Browse files Browse the repository at this point in the history
  • Loading branch information
JihongJu authored Jun 24, 2020
1 parent 9b3ec41 commit a5767df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/vim-markdown-preview.vim
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function! Vim_Markdown_Preview_Local()
endif

if g:vmp_osname == 'unix'
let chrome_wid = system("xdotool search --name vim-markdown-preview.html - " . g:vim_markdown_preview_browser . "'")
let chrome_wid = system("xdotool search --name 'vim-markdown-preview.html - " . g:vim_markdown_preview_browser . "'")
if !chrome_wid
if g:vim_markdown_preview_use_xdg_open == 1
call system('xdg-open vim-markdown-preview.html 1>/dev/null 2>/dev/null &')
Expand Down

0 comments on commit a5767df

Please sign in to comment.