plugin upgrades and fuckery.

This commit is contained in:
2025-09-24 16:22:21 +02:00
parent 866b6ff34c
commit a28447db2f
11 changed files with 135 additions and 133 deletions

View File

@@ -1,21 +1,23 @@
return {
"L3MON4D3/LuaSnip",
version = "v2.*",
lazy = false, -- früh laden
priority = 1000, -- vor anderem Zeug
dependencies = { "rafamadriz/friendly-snippets" },
build = (function()
return (vim.fn.executable("make") == 1) and "make install_jsregexp" or nil
end)(),
config = function()
require("luasnip").config.set_config({
history = true,
updateevents = "TextChanged,TextChangedI",
enable_autosnippets = true,
})
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_lua").lazy_load({
paths = vim.fn.stdpath("config") .. "/lua/snippets",
})
end,
{
"L3MON4D3/LuaSnip",
version = "v2.*",
lazy = false, -- früh laden
priority = 1000, -- vor anderem Zeug
dependencies = { "rafamadriz/friendly-snippets" },
build = (function()
return (vim.fn.executable("make") == 1) and "make install_jsregexp" or nil
end)(),
config = function()
require("luasnip").config.set_config({
history = true,
updateevents = "TextChanged,TextChangedI",
enable_autosnippets = true,
})
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_lua").lazy_load({
paths = vim.fn.stdpath("config") .. "/lua/snippets",
})
end,
},
}