-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from vim-denops/singleton
Follow denops-deno 0.6
- Loading branch information
Showing
9 changed files
with
77 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
function! denops#api#echo(text) abort | ||
for line in split(a:msg, '\n') | ||
echo line | ||
endfor | ||
function! denops#api#cmd(cmd, context) abort | ||
call extend(l:, a:context) | ||
call execute(a:cmd, '') | ||
endfunction | ||
|
||
function! denops#api#echomsg(text) abort | ||
for line in split(a:msg, '\n') | ||
echomsg line | ||
endfor | ||
function! denops#api#eval(expr, context) abort | ||
call extend(l:, a:context) | ||
return eval(a:expr) | ||
endfunction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
export * as flags from "https://deno.land/std@0.86.0/flags/mod.ts"; | ||
export * as msgpackRpc from "https://deno.land/x/msgpack_rpc@v2.4/mod.ts"; | ||
export * as vimChannelCommand from "https://deno.land/x/vim_channel_command@v0.1/mod.ts"; | ||
export * as denops from "https://deno.land/x/denops@v0.5/mod.ts"; | ||
|
||
export type { | ||
Dispatcher, | ||
DispatcherFrom, | ||
} from "https://deno.land/x/msgpack_rpc@v2.6/mod.ts"; | ||
export { Session } from "https://deno.land/x/msgpack_rpc@v2.6/mod.ts"; | ||
|
||
export type { Message as VimMessage } from "https://deno.land/x/vim_channel_command@v0.1/mod.ts"; | ||
export { Session as VimSession } from "https://deno.land/x/vim_channel_command@v0.1/mod.ts"; | ||
|
||
export type { Api, Context } from "https://deno.land/x/denops@v0.6/mod.ts"; | ||
export { | ||
Denops, | ||
isContext, | ||
WorkerReader, | ||
WorkerWriter, | ||
} from "https://deno.land/x/denops@v0.6/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.