diff options
author | Gaetan Lepage <gaetan@glepage.com> | 2023-12-22 17:21:20 +0100 |
---|---|---|
committer | Gaetan Lepage <gaetan@glepage.com> | 2023-12-24 11:01:15 +0100 |
commit | a7fd3db1b4ec69ce25e6655ea23814fe267ac856 (patch) | |
tree | b7a3b28c6ee1a3a5d516e85478e0e23ef09cceb7 /pkgs/applications/editors/vim/plugins/overrides.nix | |
parent | db1b6cc5d60993c05a54b02433852ee024408c3a (diff) |
vimPlugins.codeium-nvim: init at 2023-12-17
Diffstat (limited to 'pkgs/applications/editors/vim/plugins/overrides.nix')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/overrides.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 68335257aabef..f12855e77d41f 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -57,6 +57,8 @@ , xxd , zathura , zsh +, # codeium-nvim dependencies + codeium , # command-t dependencies getconf , ruby @@ -313,6 +315,19 @@ src = "${nodePackages."@yaegassy/coc-nginx"}/lib/node_modules/@yaegassy/coc-nginx"; }; + codeium-nvim = super.codeium-nvim.overrideAttrs { + dependencies = with self; [ nvim-cmp plenary-nvim ]; + buildPhase = '' + cat << EOF > lua/codeium/installation_defaults.lua + return { + tools = { + language_server = "${codeium}/bin/codeium_language_server" + }; + }; + EOF + ''; + }; + command-t = super.command-t.overrideAttrs { nativeBuildInputs = [ getconf ruby ]; buildPhase = '' |