Remove lazy in favour of mini.deps

This commit is contained in:
2026-01-27 22:48:54 +01:00
parent 281589bf18
commit b7d4836f9f
14 changed files with 339 additions and 419 deletions

View File

@@ -1,5 +1,16 @@
return { {
'L3MON4D3/LuaSnip',
build = 'make install_jsregexp',
version = "v2.*",
} }
local function compile(params)
local obj = vim.system({ 'make', 'install_jsregexp' }, { cwd = params.path }):wait()
if obj.code == 0 then
vim.notify('Building lacmp done', vim.log.levels.INFO)
else
vim.notify('Building blink.cmp failed', vim.log.levels.ERROR)
end
end
MiniDeps.add({
source = 'https://github.com/L3MON4D3/LuaSnip',
hooks = {
post_install = compile,
post_checkout = compile,
}
})