return { 'milanglacier/minuet-ai.nvim', config = function() require('minuet').setup { provider = 'gemini', provider_options = { gemini = { optional = { generationConfig = { maxOutputTokens = 256, }, safetySettings = { { -- HARM_CATEGORY_HATE_SPEECH, -- HARM_CATEGORY_HARASSMENT -- HARM_CATEGORY_SEXUALLY_EXPLICIT category = 'HARM_CATEGORY_DANGEROUS_CONTENT', -- BLOCK_NONE threshold = 'BLOCK_ONLY_HIGH', }, }, }, }, }, virtualtext = { auto_trigger_ft = {}, keymap = { -- accept whole completion accept = '', -- accept one line accept_line = '', -- accept n lines (prompts for number) -- e.g. "A-z 2 CR" will accept 2 lines accept_n_lines = '', -- Cycle to prev completion item, or manually invoke completion prev = '', -- Cycle to next completion item, or manually invoke completion next = '', dismiss = '', }, } } end, }