mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(blink): <Tab> should respect manual selection
This commit is contained in:
parent
2cf3d234bf
commit
d9b4d954e2
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ return {
|
||||||
if opts.keymap.preset == "super-tab" then -- super-tab
|
if opts.keymap.preset == "super-tab" then -- super-tab
|
||||||
opts.keymap["<Tab>"] = {
|
opts.keymap["<Tab>"] = {
|
||||||
function(cmp)
|
function(cmp)
|
||||||
if cmp.snippet_active() then
|
if cmp.snippet_active() or opts.completion.list.selection == "manual" then
|
||||||
return cmp.accept()
|
return cmp.accept()
|
||||||
else
|
else
|
||||||
return cmp.select_and_accept()
|
return cmp.select_and_accept()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue