mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Merge pull request #330224 from redxtech/init-vimPlugins.moveline-nvim
vimPlugins.moveline-nvim: init at 2023.06.06
This commit is contained in:
commit
f8831f3a33
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user