-
-
Notifications
You must be signed in to change notification settings - Fork 36
Configurations for shared server
Alisue edited this page Aug 25, 2022
·
8 revisions
Use https://github.com/vim-denops/denops-shared-server.vim
let g:denops_server_addr = '127.0.0.1:32123'
" If you use dein.vim, you can get the path via `dein#get('denops.vim').path`.
" Or if you are a user of jetpack.vim, you can use `jetpack#get('denops.vim').path`.
let s:denops_path = 'DENOPS_DIR_PATH'
if has('nvim')
call jobstart(
\ 'deno run -A --no-check ' . s:denops_path . '/denops/@denops-private/cli.ts',
\ {'detach': v:true}
\)
else
call job_start(
\ 'deno run -A --no-check ' . s:denops_path . '/denops/@denops-private/cli.ts',
\ {'stoponexit': ''}
\)
endif