vimPlugins.cmp-*: Add overrides

This commit is contained in:
Mr Hedgehog 2022-05-13 10:25:40 -04:00
parent e05dc87e41
commit 60ba9d65d3
No known key found for this signature in database

View file

@ -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 = ''