We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c152c18 commit 7bf9f3eCopy full SHA for 7bf9f3e
builtin/action/echo.ts
@@ -8,8 +8,8 @@ import { type Action, defineAction } from "../../action.ts";
8
* @returns An action that logs the item.
9
*/
10
export function echo(): Action {
11
- return defineAction((_denops, { item }, _options) => {
12
- console.log(JSON.stringify(item, null, 2));
+ return defineAction((_denops, { item, selectedItems }, _options) => {
+ console.info(Deno.inspect(selectedItems ?? item));
13
});
14
}
15
0 commit comments