haskell-config for nvim & ge_proton install script

This commit is contained in:
Nicole Dresselhaus
2025-09-12 10:57:44 +02:00
parent 41e1067647
commit 014ec633b7
7 changed files with 108 additions and 3 deletions

View File

@ -0,0 +1,21 @@
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,
}