mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +02:00
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
41 lines
914 B
Nix
41 lines
914 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "windsurf-nvim";
|
|
packPathName = "windsurf.nvim";
|
|
moduleName = "codeium";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
GaetanLepage
|
|
khaneliman
|
|
];
|
|
|
|
description = ''
|
|
A native neovim extension for Codeium.
|
|
|
|
---
|
|
|
|
By default, enabling this plugin will also install the `curl`, `gzip`, `coreutils`, `util-linux` and `codeium` packages (via the `dependencies.*.enable` options`).
|
|
|
|
You are free to configure `dependencies.*.enable` and `dependencies.*.package` to disable or customize this behavior, respectively.
|
|
'';
|
|
|
|
dependencies = [
|
|
"curl"
|
|
"gzip"
|
|
"coreutils"
|
|
"util-linux"
|
|
"codeium"
|
|
];
|
|
|
|
imports = [
|
|
# Register nvim-cmp association
|
|
{ cmpSourcePlugins.codeium = "windsurf-nvim"; }
|
|
] ++ (import ./deprecations.nix { inherit lib; }).imports;
|
|
|
|
settingsExample = {
|
|
enable_chat = true;
|
|
};
|
|
}
|