diff --git a/autoload/mpsync.vim b/autoload/mpsync.vim index 9e55c99..bcd26e7 100644 --- a/autoload/mpsync.vim +++ b/autoload/mpsync.vim @@ -39,7 +39,7 @@ function! s:start() else execute 'silent !java -jar -Dlog.level="' . g:markdown_preview_sync_log_level . '" "' . s:plugin_root_dir . '"/java/markdown-preview-sync.jar >/dev/null 2>&1 &' endif - sleep 1 + sleep 2 python << EOF port = int(vim.eval('g:markdown_preview_sync_port')) diff --git a/pom.xml b/pom.xml index 36fe084..e046ef2 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.pingao markdown-preview-sync - 1.1 + 1.2 jar markdown-preview-sync