feat: add inline completion

This commit is contained in:
Gustavo 2025-08-21 11:06:12 +02:00
parent a68fec9cbc
commit ba163e7629
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
return {
'supermaven-inc/supermaven-nvim',
config = function()
require('supermaven-nvim').setup {
keymaps = {
accept_suggestion = '<Tab>',
clear_suggestion = '<C-]>',
accept_word = '<C-l>',
},
ignore_filetypes = { cpp = true }, -- or { "cpp", }
color = {
cterm = 244,
},
log_level = 'info', -- set to "off" to disable logging completely
disable_inline_completion = false, -- disables inline completion for use with cmp
disable_keymaps = false, -- disables built in keymaps for more manual control
condition = function()
return false
end, -- condition to check for stopping supermaven, `true` means to stop supermaven when the condition is true.}
}
end,
}