feat(cmp): removed luasnip
This commit is contained in:
@@ -1,23 +1,4 @@
|
|||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
{
|
{ "L3MON4D3/LuaSnip", enabled = false },
|
||||||
"astronvim/astrocore",
|
|
||||||
opts = {
|
|
||||||
commands = {
|
|
||||||
LuaSnipExitOnModeChange = {
|
|
||||||
function(evt)
|
|
||||||
local ok, luasnip = pcall(require, "luasnip")
|
|
||||||
if
|
|
||||||
ok
|
|
||||||
and luasnip.session
|
|
||||||
and luasnip.session.current_nodes[evt.buf]
|
|
||||||
and not luasnip.session.jump_active
|
|
||||||
then
|
|
||||||
luasnip.unlink_current()
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user