Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
fix the bug on unix like system
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcco committed Feb 5, 2016
1 parent 2991545 commit 0d20999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/mkdp.vim
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"===============================================================================
"File: autoload/mkdp.vim
"Description: markdown preview
"Last Change: 2015-09-20
"Last Change: 2016-02-05
"Maintainer: iamcco <[email protected]>
"Github: http://github.com/iamcco <年糕小豆汤>
"Licence: Vim Licence
"Version: 0.0.1
"Version: 0.2.0
"===============================================================================

if !exists('g:mkdp_py_version')
Expand Down Expand Up @@ -119,7 +119,7 @@ fun! s:browserStart() abort "function for opening the browser
if s:mkdp_is_windows()
exec "silent !start " . g:mkdp_path_to_chrome . " http://127.0.0.1:" . g:mkdp_port . "/markdown/" . g:mkdp_prefix . bufnr('%') . '?' . g:mkdp_cwd
else
call system(g:mkdp_path_to_chrome . " http://127.0.0.1:" . g:mkdp_port . "/markdown/" . g:mkdp_prefix . bufnr('%') . '?' . g:mkdp_cwd) . " &>/dev/null &")
call system(g:mkdp_path_to_chrome . " http://127.0.0.1:" . g:mkdp_port . "/markdown/" . g:mkdp_prefix . bufnr('%') . '?' . g:mkdp_cwd . " &>/dev/null &")
endif
endfun

Expand Down

0 comments on commit 0d20999

Please sign in to comment.