Unverified Commit f6be3f09 authored by Gabe Dunn's avatar Gabe Dunn Committed by Gabe Dunn
Browse files

vimPlugins.moveline-nvim: init at 2023.06.06

parent ceda66b3
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -1083,6 +1083,34 @@
    meta.homepage = "https://github.com/jose-elias-alvarez/minsnip.nvim/";
  };

  moveline-nvim = let
    version = "2024-07-25";
    src = fetchFromGitHub {
      owner = "willothy";
      repo = "moveline.nvim";
      rev = "9f67f4b9e752a87eea8205f0279f261a16c733d8";
      sha256 = "sha256-B4t5+Q4Urx5bGm8glNpYkHhpp/rAhz+lDd2EpWFUYoY=";
    };
    moveline-lib = rustPlatform.buildRustPackage {
      inherit src version;
      pname = "moveline-lib";
      cargoHash = "sha256-e9QB4Rfm+tFNrLAHN/nYUQ5PiTET8knQQIQkMH3UFkU=";
    };
  in buildVimPlugin {
    inherit src version;
    pname = "moveline-nvim";
    preInstall = ''
      mkdir -p lua
      ln -s ${moveline-lib}/lib/libmoveline.so lua/moveline.so
    '';
    meta = {
      description = "Neovim plugin for moving lines up and down";
      homepage = "https://github.com/willothy/moveline.nvim";
      license = lib.licenses.mit;
      maintainers = with lib.maintainers; [ redxtech ];
    };
  };

  multicursors-nvim = super.multicursors-nvim.overrideAttrs {
    dependencies = with self; [ nvim-treesitter hydra-nvim ];
  };