nvim/lua/plugins/supermaven.lua
RingOfStorms (Joshua Bell) 19e2019f2f Add supermaven
2025-06-10 08:54:27 -05:00

18 lines
452 B
Lua

return {
"supermaven-inc/supermaven-nvim",
event = "VeryLazy",
opts = {
keymaps = {
accept_suggestion = "<C-space>",
-- clear_suggestion = "<C-]>",
accept_word = "<C-enter>",
},
ignore_filetypes = { "age" },
-- disable_inline_completion = true,
-- disable_keymaps = true,
condition = function()
local matches = vim.fn.expand("%:t"):match("^%.env") or vim.fn.expand("%:t"):match("^%.envrc")
return not matches
end,
},
}