From 60ba9d65d326687bfec3a68f2c734a32cbbdd038 Mon Sep 17 00:00:00 2001 From: Mr Hedgehog Date: Fri, 13 May 2022 10:25:40 -0400 Subject: [PATCH] vimPlugins.cmp-*: Add overrides --- .../editors/vim/plugins/overrides.nix | 92 ++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 0c3c96d50077..934bdfcf046a 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -19,8 +19,10 @@ , code-minimap , dasht , direnv +, fish , fzf , gawk +, git , gnome , himalaya , jq @@ -30,12 +32,15 @@ , meson , nim , nodePackages +, pandoc , parinfer-rust +, ripgrep , skim , sqlite , statix , stylish-haskell , tabnine +, tmux , tup , vim , which @@ -45,6 +50,7 @@ , nodejs , xdotool , xorg +, zsh # test dependencies , neovim-unwrapped @@ -133,8 +139,72 @@ self: super: { ''; }); + cmp-clippy = super.cmp-clippy.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp plenary-nvim ]; + }); + + cmp-copilot = super.cmp-copilot.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp copilot-vim ]; + }); + + cmp-dap = super.cmp-dap.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp nvim-dap ]; + }); + + cmp-dictionary = super.cmp-dictionary.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + + cmp-digraphs = super.cmp-digraphs.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + + cmp-fish = super.cmp-fish.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp fish ]; + }); + + cmp-fuzzy-buffer = super.cmp-fuzzy-buffer.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp fuzzy-nvim ]; + }); + + cmp-fuzzy-path = super.cmp-fuzzy-path.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp fuzzy-nvim ]; + }); + + cmp-git = super.cmp-git.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp curl git ]; + }); + + cmp-greek = super.cmp-greek.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + + cmp-look = super.cmp-look.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + cmp-neosnippet = super.cmp-neosnippet.overrideAttrs (old: { - dependencies = with self; [ nvim-cmp neosnippet ]; + dependencies = with self; [ nvim-cmp neosnippet-vim ]; + }); + + cmp-npm = super.cmp-npm.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp nodejs plenary-nvim ]; + }); + + cmp-nvim-lsp-signature-help = super.cmp-nvim-lsp-signature-help.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + + cmp-pandoc-nvim = super.cmp-pandoc-nvim.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp pandoc plenary-nvim ]; + }); + + cmp-rg = super.cmp-rg.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ripgrep ]; + }); + + cmp-snippy = super.cmp-snippy.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp nvim-snippy ]; }); cmp-tabnine = super.cmp-tabnine.overrideAttrs (old: { @@ -146,6 +216,26 @@ self: super: { ''; }); + cmp-nvim-tags = super.cmp-nvim-tags.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp ]; + }); + + cmp-tmux = super.cmp-tmux.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp tmux ]; + }); + + cmp-vimwiki-tags = super.cmp-vimwiki-tags.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp vimwiki ]; + }); + + cmp-vim-lsp = super.cmp-vim-lsp.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp vim-lsp ]; + }); + + cmp-zsh = super.cmp-zsh.overrideAttrs (old: { + dependencies = with self; [ nvim-cmp zsh ]; + }); + command-t = super.command-t.overrideAttrs (old: { buildInputs = [ ruby rake ]; buildPhase = ''