diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index ca6dc045..bc4acccd 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: +github: - lambdalisue patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username diff --git a/autoload/denops/plugin.vim b/autoload/denops/plugin.vim index 22a4544a..7e4fb0e9 100644 --- a/autoload/denops/plugin.vim +++ b/autoload/denops/plugin.vim @@ -109,7 +109,7 @@ function! denops#plugin#check_type(...) abort \ 'DENO_NO_PROMPT': 1, \ }, \ 'on_stderr': { _job, data, _event -> denops#_internal#echo#info(data) }, - \ 'on_exit': { _job, status, _event -> status + \ 'on_exit': { _job, status, _event -> status \ ? denops#_internal#echo#error('Type check failed:', status) \ : denops#_internal#echo#info('Type check succeeded') \ }, @@ -143,7 +143,7 @@ function! s:register(plugin, script, meta, options) abort call denops#_internal#server#chan#notify('invoke', ['register', l:args]) endfunction -function! s:trace(plugin) abort +function! s:trace(plugin) abort return type(g:denops#trace) is# v:t_list \ ? index(g:denops#trace, a:plugin) != -1 ? v:true : v:false \ : g:denops#trace ? v:true : v:false diff --git a/autoload/denops/server.vim b/autoload/denops/server.vim index 2ab034ad..2d45aa84 100644 --- a/autoload/denops/server.vim +++ b/autoload/denops/server.vim @@ -5,7 +5,7 @@ const s:STATUS_RUNNING = 'running' " Local server function! denops#server#start() abort - if g:denops#disabled || denops#_internal#server#proc#is_started() + if g:denops#disabled || denops#_internal#server#proc#is_started() return endif return denops#_internal#server#proc#start({ @@ -19,7 +19,7 @@ function! denops#server#start() abort endfunction function! denops#server#stop() abort - if !denops#_internal#server#proc#is_started() + if !denops#_internal#server#proc#is_started() return endif call denops#_internal#server#proc#stop() diff --git a/doc/denops.txt b/doc/denops.txt index 5901318c..6bda21a0 100644 --- a/doc/denops.txt +++ b/doc/denops.txt @@ -29,14 +29,14 @@ USAGE *denops-usage* ----------------------------------------------------------------------------- SHARED SERVER *denops-shared-server* -Normally, a Denops server is started for each Vim/Neovim instance, but there +Normally, a Denops server is started for each Vim/Neovim instance, but there are cases where the process startup becomes a bottleneck and impairs usability. In such cases, launching a "Shared server" and connecting to it will allow all Vim/Neovim instances to use a shared server, thus avoiding the bottleneck of process launches and possibly improving usability. -To start the shared server, execute the following command in the denops.vim +To start the shared server, execute the following command in the denops.vim repository top > deno run -A --no-lock ./denops/@denops-private/cli.ts @@ -336,8 +336,8 @@ denops#callback#register({callback}[, {options}]) The following attributes are available on {options}. "once" |v:true| to register the callback as a one-time - anonymous function which will be removed when the - callback has called. + anonymous function which will be removed when the + callback has called. Default: |v:false| > " Persistent callback