overseer.nvim
overseer.nvim copied to clipboard
bug: Wrong autocomplete parameters with enum type
Neovim version (nvim -v)
0.9.5
Operating system/version
MacOS 14.4
Describe the bug
I created task template with parameter as followed
build = {
name = "Build type",
desc = "Set build type",
type = "enum",
choices = config.build_types, -- {"Debug", "Release"}
default = config.build_types[1],
},
and when i am trying to open autocomplete window <C-x><C-o>
and select Release
suggestion, actual text becomes DebugRelease
.
As we see, autocompletion does not deletes previous input:
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Bug can be reproduced by register_template
of trivial template with parameter which contains
{
type = "enum",
choices = {"ONE", "TWO", "THREE"},
}
Expected Behavior
I suppose previous input has to be deleted after confirming new suggestion
EDIT.
BTW, where can i redefine this <C-x><C-o>
keymap?