Skip to content

Commit d018c5d

Browse files
committed
Fix eval()
1 parent d6eba67 commit d018c5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vim.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export class Vim {
3535
await this.#denops.cmd(cmd, context);
3636
}
3737

38-
async eval(expr: string, context: Context = {}): Promise<void> {
39-
await this.#denops.eval(expr, context);
38+
async eval(expr: string, context: Context = {}): Promise<unknown> {
39+
return await this.#denops.eval(expr, context);
4040
}
4141

4242
async execute(command: string | string[]): Promise<void> {

0 commit comments

Comments
 (0)