diff --git a/lua/crentist/lazy/completion.lua b/lua/crentist/lazy/completion.lua index 62b19b6..7a2e4a3 100644 --- a/lua/crentist/lazy/completion.lua +++ b/lua/crentist/lazy/completion.lua @@ -19,10 +19,13 @@ return { active = function(filter) local snippet = require('luasnip') local blink = require('blink.cmp') - if snippet.in_snippet() and not blink.is_visible() then + if snippet.in_snippet() then return true else - if not snippet.in_snippet() and vim.fn.mode() == 'n' then snippet.unlink_current() end + if not snippet.in_snippet() and vim.fn.mode() == 'n' then + snippet.unlink_current() + vim.snippet.stop() + end return false end end