You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
return { |
|
"Exafunction/windsurf.nvim", |
|
dependencies = { |
|
"nvim-lua/plenary.nvim", |
|
"saghen/blink.cmp", |
|
}, |
|
enabled = false, |
|
config = function() |
|
require("codeium").setup({ |
|
-- Optionally disable cmp source if using virtual text only |
|
enable_cmp_source = false, |
|
virtual_text = { |
|
enabled = true, |
|
|
|
-- These are the defaults |
|
|
|
-- Set to true if you never want completions to be shown automatically. |
|
manual = false, |
|
-- A mapping of filetype to true or false, to enable virtual text. |
|
filetypes = {}, |
|
-- Whether to enable virtual text of not for filetypes not specifically listed above. |
|
default_filetype_enabled = true, |
|
-- How long to wait (in ms) before requesting completions after typing stops. |
|
idle_delay = 75, |
|
-- Priority of the virtual text. This usually ensures that the completions appear on top of |
|
-- other plugins that also add virtual text, such as LSP inlay hints, but can be modified if |
|
-- desired. |
|
virtual_text_priority = 65535, |
|
-- Set to false to disable all key bindings for managing completions. |
|
map_keys = true, |
|
-- The key to press when hitting the accept keybinding but no completion is showing. |
|
-- Defaults to \t normally or <c-n> when a popup is showing. |
|
accept_fallback = nil, |
|
-- Key bindings for managing completions in virtual text mode. |
|
key_bindings = { |
|
-- Accept the current completion. |
|
accept = "<Tab>", |
|
-- Accept the next word. |
|
accept_word = false, |
|
-- Accept the next line. |
|
accept_line = false, |
|
-- Clear the virtual text. |
|
clear = false, |
|
-- Cycle to the next completion. |
|
next = "<C-n>", |
|
-- Cycle to the previous completion. |
|
prev = "<C-n>", |
|
}, |
|
}, |
|
}) |
|
end, |
|
}
|
|
|