prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.1k stars 304 forks source link

fix eat of typing char after completion done #1468

Closed zbinlin closed 1 year ago

zbinlin commented 1 year ago

When using typescript-language-server, in content Math.ab|, if you type <C-X><C-o> for omni completion, it will be completed with s. Then, the content will become Math.abs|. If you continue type (, the ( will be removed. Also, if type <CR>, a new line will be added, resulting in Math.abs|s\nMath.ab. This patch attempts to fix this issue.

mattn commented 1 year ago

Thanks. I'll look this soon

mattn commented 1 year ago

Thank you