feat(neovim): add lspfuzzy

This commit is contained in:
Felix Schröter 2021-11-13 04:23:32 +01:00
parent 594e74dd43
commit 75570d67df
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
4 changed files with 41 additions and 14 deletions

View file

@ -44,9 +44,14 @@
flake = false;
};
inputs.nvim-lspfuzzy = {
url = "github:ojroques/nvim-lspfuzzy";
flake = false;
};
outputs = { self, nixpkgs, nixos-hardware, flake-utils, home-manager, nur
, neovim, obelisk, photoprism-flake, pre-commit-hooks, nvim-ts-autotag
, nvim-ts-context-commentstring }@inputs:
, nvim-ts-context-commentstring, nvim-lspfuzzy }@inputs:
let
overlays = {
# newer packages that support NVIDIA's GBM Wayland backend
@ -75,21 +80,23 @@
});
};
neovim = self: super:
with super.pkgs.vimUtils; {
let
buildVimPlugin = name: input:
super.pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = name;
version = input.rev;
versionSuffix = "-git";
src = input;
};
in {
neovim-nightly = neovim.packages.${self.system}.neovim;
vimPlugins = super.vimPlugins // {
nvim-ts-autotag = buildVimPluginFrom2Nix {
pname = "nvim-ts-autotag";
version = nvim-ts-autotag.rev;
versionSuffix = "-git";
src = nvim-ts-autotag;
};
nvim-ts-context-commentstring = buildVimPluginFrom2Nix {
pname = "nvim-ts-context-commentstring";
version = nvim-ts-context-commentstring.rev;
versionSuffix = "-git";
src = nvim-ts-context-commentstring;
};
nvim-ts-autotag =
buildVimPlugin "nvim-ts-autotag" nvim-ts-autotag;
nvim-ts-context-commentstring =
buildVimPlugin "nvim-ts-context-commentstring"
nvim-ts-context-commentstring;
nvim-lspfuzzy = buildVimPlugin "nvim-lspfuzzy" nvim-lspfuzzy;
};
};
deconz = self: super: {