add insert mode for completion

This commit is contained in:
Aditya 2024-03-28 20:50:30 +05:30
parent 67766cd5f4
commit e0e9d9a4e6
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -48,7 +48,7 @@
mapping = { mapping = {
"<Tab>" = { "<Tab>" = {
modes = ["v" "s"]; modes = ["i" "v" "s"];
action = '' action = ''
function(fallback) function(fallback)
if cmp.visible() then if cmp.visible() then
@ -62,7 +62,7 @@
''; '';
}; };
"<S-Tab>" = { "<S-Tab>" = {
modes = ["v" "s"]; modes = ["i" "v" "s"];
action = '' action = ''
function(fallback) function(fallback)
if cmp.visible() then if cmp.visible() then
@ -164,4 +164,3 @@
}), }),
}) ''; }) '';
} }