## How to reproduce the problem from neovim/Vim startup (Required!)
1. Input `t`.
2. Select first item with `<C-n>`.
3. `onCompleteDone` fires and the current line is rewritten to `fire!`.
## Screenshot (if possible)
![insert_relative](https://github.com/Shougo/ddc.vim/assets/82267684/2a5944a0-ecf7-42d5-bed1-3ac7911c2c2c)
## Upload the log messages by `:redir` and `:message` (if errored)
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
Source.onCompleteDone
fires on selecting item bypum#map#insert_relative()
.Expected
Environment Information
Latest
ddc.vim version (SHA1):
denops.vim version (SHA1):
deno version(
deno -V
output):OS:
neovim/Vim
:version
output:Provide a minimal init.vim/vimrc without plugin managers (Required!)
type Params = Record<never, never>;
export class Source extends BaseSource {
gather(): Promise {
return Promise.resolve([
{ word: "test1", info: "test1", user_data: {} },
{ word: "test2", info: "test2", user_data: {} },
]);
}
async onCompleteDone({ denops, }: OnCompleteDoneArguments): Promise {
await fn.setline(denops, ".", "fire!");
}
params(): Params { return {}; } }