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

Commit 0d20999

Browse files
committed
fix the bug on unix like system
1 parent 2991545 commit 0d20999

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/mkdp.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"===============================================================================
22
"File: autoload/mkdp.vim
33
"Description: markdown preview
4-
"Last Change: 2015-09-20
4+
"Last Change: 2016-02-05
55
"Maintainer: iamcco <ooiss@qq.com>
66
"Github: http://github.com/iamcco <年糕小豆汤>
77
"Licence: Vim Licence
8-
"Version: 0.0.1
8+
"Version: 0.2.0
99
"===============================================================================
1010

1111
if !exists('g:mkdp_py_version')
@@ -119,7 +119,7 @@ fun! s:browserStart() abort "function for opening the browser
119119
if s:mkdp_is_windows()
120120
exec "silent !start " . g:mkdp_path_to_chrome . " http://127.0.0.1:" . g:mkdp_port . "/markdown/" . g:mkdp_prefix . bufnr('%') . '?' . g:mkdp_cwd
121121
else
122-
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 &")
122+
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 &")
123123
endif
124124
endfun
125125

0 commit comments

Comments
 (0)