~dricottone/vim-markdown-preview

4e0925333c54ebf9666bfbe452d666a356585060 — Torben 8 years ago 5032eae
Add preview browser name to OSX open call
1 files changed, 2 insertions(+), 2 deletions(-)

M plugin/vim-markdown-preview.vim
M plugin/vim-markdown-preview.vim => plugin/vim-markdown-preview.vim +2 -2
@@ 68,7 68,7 @@ function! Vim_Markdown_Preview()
  endif

  if OSNAME == 'mac'
    call system('open -g /tmp/vim-markdown-preview.html')
    call system('open -a "' . g:vim_markdown_preview_browser . '" -g /tmp/vim-markdown-preview.html')
  endif

  if g:vim_markdown_preview_temp_file == 1


@@ 120,7 120,7 @@ function! Vim_Markdown_Preview_Local()
  endif

  if OSNAME == 'mac'
    call system('open -g "' . curr_file . '".html')
    call system('open -a "' . g:vim_markdown_preview_browser . '" -g "' . curr_file . '".html')
  endif

  if g:vim_markdown_preview_temp_file == 1