Unverified Commit 3743d104 authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

vimPlugins.go-nvim: add guihua-lua to dependencies (#477519)

parents ccd03831 b07fb014
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -6218,6 +6218,19 @@ final: prev: {
    meta.hydraPlatforms = [ ];
  };
  guihua-lua = buildVimPlugin {
    pname = "guihua.lua";
    version = "0.1-unstable-2025-11-12";
    src = fetchFromGitHub {
      owner = "ray-x";
      repo = "guihua.lua";
      rev = "ef44ba40f12e56c1c9fa45967f2b4d142e4b97a0";
      hash = "sha256-9iFqh12orsGnQniDloO+aXoBYuTqOW4pGHi3LBB2m4Q=";
    };
    meta.homepage = "https://github.com/ray-x/guihua.lua/";
    meta.hydraPlatforms = [ ];
  };
  gundo-vim = buildVimPlugin {
    pname = "gundo.vim";
    version = "2.6.2-unstable-2021-02-21";
+23 −1
Original line number Diff line number Diff line
@@ -1365,10 +1365,13 @@ assertNoAdditions {
  };

  go-nvim = super.go-nvim.overrideAttrs {
    dependencies = with self; [
      nvim-treesitter
      guihua-lua
    ];
    checkInputs = with self; [
      luasnip
      null-ls-nvim
      nvim-treesitter
    ];
    nvimSkipModules = [
      "init"
@@ -1399,6 +1402,25 @@ assertNoAdditions {
    dependencies = [ self.guard-nvim ];
  };

  guihua-lua = super.guihua-lua.overrideAttrs {
    dependencies = [ self.nvim-treesitter ];

    buildPhase = ''
      runHook preBuild

      pushd lua/fzy
      make
      popd

      runHook postBuild
    '';

    nvimSkipModules = [
      # lua module '.init' not found
      "fzy.fzy-lua-native"
    ];
  };

  gx-nvim = super.gx-nvim.overrideAttrs {
    patches = lib.optionals stdenv.hostPlatform.isLinux [
      (replaceVars ./patches/gx-nvim/fix-paths.patch {
+1 −0
Original line number Diff line number Diff line
@@ -476,6 +476,7 @@ https://github.com/ellisonleao/gruvbox.nvim/,,
https://github.com/nvimdev/guard-collection/,HEAD,
https://github.com/nvimdev/guard.nvim/,HEAD,
https://github.com/nmac427/guess-indent.nvim/,HEAD,
https://github.com/ray-x/guihua.lua/,HEAD,
https://github.com/sjl/gundo.vim/,,
https://github.com/junegunn/gv.vim/,,
https://github.com/chrishrb/gx.nvim/,HEAD,