Skip to content

Commit

Permalink
Improve check
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Feb 5, 2024
1 parent 56c2386 commit f263c9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions autoload/dpp/denops.vim
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ function s:init() abort

" NOTE: dpp.vim must be registered manually.
if 'g:loaded_denops'->exists() &&
\ (denops#server#status() ==# 'preparing' ||
\ ('<amatch>'->expand() ==# 'DenopsReady' ||
\ denops#server#status() ==# 'running')
silent! call s:register()
call s:register()
else
autocmd dpp User DenopsReady silent! call s:register()
autocmd dpp User DenopsReady call s:register()
endif
endfunction

Expand Down
14 changes: 7 additions & 7 deletions denops/dpp/deps.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export type { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
export type { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
export {
echo,
execute,
} from "https://deno.land/x/[email protected].0/helper/mod.ts";
} from "https://deno.land/x/[email protected].1/helper/mod.ts";
export {
batch,
collect,
} from "https://deno.land/x/[email protected].0/batch/mod.ts";
export * as op from "https://deno.land/x/[email protected].0/option/mod.ts";
export * as fn from "https://deno.land/x/[email protected].0/function/mod.ts";
export * as vars from "https://deno.land/x/[email protected].0/variable/mod.ts";
export * as autocmd from "https://deno.land/x/[email protected].0/autocmd/mod.ts";
} from "https://deno.land/x/[email protected].1/batch/mod.ts";
export * as op from "https://deno.land/x/[email protected].1/option/mod.ts";
export * as fn from "https://deno.land/x/[email protected].1/function/mod.ts";
export * as vars from "https://deno.land/x/[email protected].1/variable/mod.ts";
export * as autocmd from "https://deno.land/x/[email protected].1/autocmd/mod.ts";
export { ensure, is } from "https://deno.land/x/[email protected]/mod.ts";
export {
assertEquals,
Expand Down

0 comments on commit f263c9c

Please sign in to comment.