Sonic-Pi send visual selection and integration, luasnip TAB jumps insert positions

This commit is contained in:
2024-10-30 20:40:56 +01:00
parent 9a0c3a4ca2
commit 67dafbaf6c
5 changed files with 26 additions and 6 deletions

View File

@@ -33,6 +33,8 @@ cmp.setup({
-- Hint: if the completion menu is visible select next one
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.jumpable(1) then
luasnip.jump(1)
elseif has_words_before() then
cmp.complete()
else