neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

VIM automatically goes into select mode and selects all contents before the cursor #465

Closed ayonli closed 2 months ago

ayonli commented 2 months ago

When using this plugin, and for example, typing the following code:

import { EventEmitter } from "events";

const events = new EventEmitter();

event.on

When I press Enter key, the editor automatically goes into Select mode, and select all contents before the console.on(eventName, which is very annoying, because if I type any key at this moment, the contents selected will be wiped out.

fannheyward commented 2 months ago

What's your :CocInfo?

Similar issue https://github.com/neoclide/coc.nvim/issues/4599, upgrade your vim and try again.

ayonli commented 2 months ago

OK, I just installed Neovim, and it works well.