mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-29 14:28:51 +02:00
feat(snippets): mini.snippets is out of beta
This commit is contained in:
parent
3242ab8cff
commit
c0abf9b64e
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ return {
|
||||||
{ "L3MON4D3/LuaSnip", optional = true, enabled = false },
|
{ "L3MON4D3/LuaSnip", optional = true, enabled = false },
|
||||||
|
|
||||||
-- add mini.snippets
|
-- add mini.snippets
|
||||||
desc = "mini.snippets(beta), a plugin to manage and expand snippets (alternative for luasnip)",
|
desc = "Manage and expand snippets (alternative to Luasnip)",
|
||||||
{
|
{
|
||||||
"echasnovski/mini.snippets",
|
"echasnovski/mini.snippets",
|
||||||
event = "InsertEnter", -- don't depend on other plugins to load...
|
event = "InsertEnter", -- don't depend on other plugins to load...
|
||||||
|
@ -149,7 +149,7 @@ return {
|
||||||
end
|
end
|
||||||
--
|
--
|
||||||
-- Blink performs a require on blink.cmp.sources.snippets.default
|
-- Blink performs a require on blink.cmp.sources.snippets.default
|
||||||
-- By removing the source, the default engine will not be used
|
-- By removing the source, that default engine will not be used
|
||||||
opts.sources.default = vim.tbl_filter(function(source)
|
opts.sources.default = vim.tbl_filter(function(source)
|
||||||
return source ~= "snippets"
|
return source ~= "snippets"
|
||||||
end, opts.sources.default)
|
end, opts.sources.default)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue