diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index ac4f61c2e4eb..2e89cbf05e50 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -2674,6 +2674,18 @@ final: prev: meta.homepage = "https://github.com/stsewd/fzf-checkout.vim/"; }; + fzf-hoogle-vim = buildVimPluginFrom2Nix { + pname = "fzf-hoogle.vim"; + version = "2022-05-01"; + src = fetchFromGitHub { + owner = "monkoose"; + repo = "fzf-hoogle.vim"; + rev = "16c08d1534aea2cd1cea1a1e20783bd22f634c77"; + sha256 = "0k7cdi00ixqdkqmyqnapn5aplyn0w78iwvm7ifyi9j3smz57hzhf"; + }; + meta.homepage = "https://github.com/monkoose/fzf-hoogle.vim/"; + }; + fzf-lsp-nvim = buildVimPluginFrom2Nix { pname = "fzf-lsp.nvim"; version = "2022-05-16"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 8546e80047c1..bb4cff5ab294 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -20,8 +20,10 @@ , dasht , direnv , fzf +, gawk , gnome , himalaya +, jq , khard , languagetool , llvmPackages @@ -300,6 +302,18 @@ self: super: { ''; }); + fzf-hoogle-vim = super.fzf-hoogle-vim.overrideAttrs (old: { + + # add this to your lua config to prevent the plugin from trying to write in the + # nix store: + # vim.g.hoogle_fzf_cache_file = vim.fn.stdpath('cache')..'/hoogle_cache.json' + propagatedBuildInputs = [ + jq + gawk + ]; + dependencies = with self; [ fzf-vim ]; + }); + fzf-lua = super.fzf-lua.overrideAttrs (old: { propagatedBuildInputs = [ fzf ]; }); diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 720ef2dda500..f1804ae13e0a 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -223,6 +223,7 @@ https://github.com/shumphrey/fugitive-gitlab.vim/,, https://github.com/BeneCollyridam/futhark-vim/,, https://github.com/rktjmp/fwatch.nvim/,, https://github.com/stsewd/fzf-checkout.vim/,, +https://github.com/monkoose/fzf-hoogle.vim/,HEAD, https://github.com/gfanto/fzf-lsp.nvim/,, https://github.com/ibhagwan/fzf-lua/,HEAD, https://github.com/junegunn/fzf.vim/,,