fix commandline cmp select on tab
This commit is contained in:
parent
aee3628a7e
commit
13db25f74d
|
|
@ -201,6 +201,14 @@
|
|||
];
|
||||
};
|
||||
":" = {
|
||||
completion.completeopt = "menu,menuone,noselect";
|
||||
mapping = {
|
||||
__raw = ''
|
||||
cmp.mapping.preset.cmdline({
|
||||
["<CR>"] = cmp.mapping.confirm { select = true },
|
||||
})
|
||||
'';
|
||||
};
|
||||
sources = [
|
||||
{
|
||||
name = "path";
|
||||
|
|
@ -212,7 +220,7 @@
|
|||
};
|
||||
"?" = {
|
||||
mapping = {
|
||||
completion.completeopt = "menuone,noselect";
|
||||
completion.completeopt = "menu,menuone,noselect";
|
||||
__raw = "cmp.mapping.preset.cmdline({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
|
|
|
|||
Loading…
Reference in New Issue