Merge pull request #330224 from redxtech/init-vimPlugins.moveline-nvim

vimPlugins.moveline-nvim: init at 2023.06.06
This commit is contained in:
Gaétan Lepage 2024-08-25 23:28:57 +02:00 committed by GitHub
commit f8831f3a33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1114,6 +1114,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 ];
};