mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(extras): setup neogen and mini.snippets integration
This commit is contained in:
parent
45d94b3197
commit
1d56b621c1
1 changed files with 6 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ return {
|
|||
|
||||
local map = {
|
||||
["LuaSnip"] = "luasnip",
|
||||
["mini.snippets"] = "mini",
|
||||
["nvim-snippy"] = "snippy",
|
||||
["vim-vsnip"] = "vsnip",
|
||||
}
|
||||
|
|
@ -28,6 +29,11 @@ return {
|
|||
end
|
||||
end
|
||||
|
||||
-- NOTE: neogen does not require mini.snippets
|
||||
if opts.snippet_engine == "mini" then
|
||||
require("mini.snippets")
|
||||
end
|
||||
|
||||
if vim.snippet then
|
||||
opts.snippet_engine = "nvim"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue