Skip to content

Commit

Permalink
Merge pull request #301 from conao3/delete-trailing-space
Browse files Browse the repository at this point in the history
delete trailing white space
  • Loading branch information
Shougo authored Dec 31, 2023
2 parents 405e919 + a4447d9 commit b0812d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions autoload/denops/plugin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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')
\ },
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions autoload/denops/server.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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()
Expand Down
8 changes: 4 additions & 4 deletions doc/denops.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b0812d3

Please sign in to comment.