Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
Thank you for creating many great plugins.
When executing pum#map#cancel after pum#map#insert_relative, the inserted text does not revert to original input text.
This weird behaviour only happens for some ddc sources(nvim-lsp, and vsnip at the moment) and does not happen in around source.
Expected
Executing pum#map#cancel should revert the inserted text to the original input text.
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Provide a minimal init.vim/vimrc without plugin managers (Required!)
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
Thank you for creating many great plugins. When executing
pum#map#cancel
afterpum#map#insert_relative
, the inserted text does not revert to original input text. This weird behaviour only happens for someddc
sources(nvim-lsp, and vsnip at the moment) and does not happen in around source.Expected
Executing
pum#map#cancel
should revert the inserted text to the original input text.Environment Information (Required!)
pum.vim version(SHA1): b927e1ab604d426581c0608fa17ecd7890aa8d8f
OS: Arch Linux
neovim/Vim
:version
output:Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
min_init.lua
Screen shot (if possible)
Unexpected Behaviour (pum#cancel on vsnip source entry)
Expected Behaviour (pum#cancel on around source entry)
Upload the log messages by
:redir
and:message
(if errored)No error messages.