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

Commit

Permalink
fix #65
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcco committed Aug 19, 2018
1 parent a2fb4ec commit c09a1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/mkdp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ fun! s:serverStart() abort "function for starting the server
if exists('g:mkdp_open_to_the_world')
let l:cmd = l:cmd . ' 0.0.0.0'
endif
exec l:cmd
exec l:cmd | redraw
else
let l:cmd = "python " . s:path_to_server . " " . g:mkdp_port
if exists('g:mkdp_open_to_the_world')
let l:cmd = l:cmd . ' 0.0.0.0'
endif
call system(l:cmd . " >/dev/null 2>&1 &")
call system(l:cmd . " >/dev/null 2>&1 &") | redraw
endif
endfun

Expand Down

0 comments on commit c09a1ca

Please sign in to comment.