mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 11:30:06 +02:00
64 lines
1.3 KiB
Nix
64 lines
1.3 KiB
Nix
|
# We don't run neovim here, as supermaven tries to download `sm-agent`
|
||
|
{
|
||
|
empty = {
|
||
|
test.runNvim = false;
|
||
|
plugins.supermaven.enable = true;
|
||
|
};
|
||
|
|
||
|
defaults = {
|
||
|
test.runNvim = false;
|
||
|
plugins.supermaven = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
keymaps = {
|
||
|
accept_suggestion = "<Tab>";
|
||
|
clear_suggestions = "<C-]>";
|
||
|
accept_word = "<C-j>";
|
||
|
};
|
||
|
ignore_filetypes = [ ];
|
||
|
color = {
|
||
|
suggestion_color = null;
|
||
|
cterm = null;
|
||
|
};
|
||
|
log_level = "info";
|
||
|
disable_inline_completion = false;
|
||
|
disable_keymaps = false;
|
||
|
condition.__raw = ''
|
||
|
function()
|
||
|
return false
|
||
|
end
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
example = {
|
||
|
test.runNvim = false;
|
||
|
plugins.supermaven = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
keymaps = {
|
||
|
accept_suggestion = "<Tab>";
|
||
|
clear_suggestions = "<C-]>";
|
||
|
accept_word = "<C-j>";
|
||
|
};
|
||
|
ignore_filetypes = [ "cpp" ];
|
||
|
color = {
|
||
|
suggestion_color = "#ffffff";
|
||
|
cterm = 244;
|
||
|
};
|
||
|
log_level = "info";
|
||
|
disable_inline_completion = false;
|
||
|
disable_keymaps = false;
|
||
|
condition.__raw = ''
|
||
|
function()
|
||
|
return false
|
||
|
end
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|