This commit is contained in:
Klesh Wong 2022-11-23 00:43:32 +08:00
parent 1d832a1015
commit 21eb336b94
2 changed files with 8 additions and 3 deletions

View File

@ -113,9 +113,11 @@ if cmp_status_ok and luasnip_status_ok then
}, },
['<Tab>'] = cmp.mapping(function(fallback) ['<Tab>'] = cmp.mapping(function(fallback)
if cmp.visible() then if cmp.visible() then
print("select_next_item")
cmp.select_next_item() cmp.select_next_item()
elseif luasnip_status_ok and luasnip.expand_or_jumpable() then -- elseif luasnip_status_ok and luasnip.expand_or_jumpable() then
luasnip.expand_or_jump() -- print("expand_or_jump")
-- luasnip.expand_or_jump()
else else
fallback() fallback()
end end

View File

@ -1 +1,4 @@
CTRL+p script-message osc-playlist CTRL+p script-message osc-playlist
n playlist-prev ; show-text "${playlist-pos-1}/${playlist-count}"
p playlist-next ; show-text "${playlist-pos-1}/${playlist-count}"