return {
  "saghen/blink.cmp",
  event = "InsertEnter",
  -- LuaSnip kommt aus lua/plugins/snippets.lua früh rein; hier reicht avante
  dependencies = { "Kaiser-Yang/blink-cmp-avante" },
  opts = {
    signature = { enabled = true },
    fuzzy = { implementation = "prefer_rust" },
    snippets = { preset = "luasnip" },
    sources = {
      default = { "lsp", "path", "avante", "snippets", "buffer" },
      providers = {
        avante = {
          module = "blink-cmp-avante",
          name = "Avante",
          opts = {
            -- options for blink-cmp-avante
          },
        },
      },
    },
  },
  build = "nix run .#build-plugin",
}
