vimPlugins.lens-vim: init at 2020-04-24

This commit is contained in:
Ivan Kovnatsky 2020-12-04 12:52:29 +02:00 committed by Jonathan Ringer
parent 12beaac933
commit 5e66517178
4 changed files with 37 additions and 0 deletions

View file

@ -1942,6 +1942,18 @@ let
meta.homepage = "https://github.com/leanprover/lean.vim/";
};
lens-vim = buildVimPluginFrom2Nix {
pname = "lens-vim";
version = "2020-04-24";
src = fetchFromGitHub {
owner = "camspiers";
repo = "lens.vim";
rev = "868b195be3cc3000d1d3f875ee0a52a11972e5b9";
sha256 = "0qpx84k52pz29rx6q0zh3qq4g3a1gyvyfcipx3kaw4lxlld6agd5";
};
meta.homepage = "https://github.com/camspiers/lens.vim/";
};
lessspace-vim = buildVimPluginFrom2Nix {
pname = "lessspace-vim";
version = "2019-09-12";

View file

@ -461,6 +461,18 @@ self: super: {
];
});
lens-vim = super.lens-vim.overrideAttrs(old: {
# remove duplicate g:lens#animate in doc/lens.txt
# https://github.com/NixOS/nixpkgs/pull/105810#issuecomment-740007985
# https://github.com/camspiers/lens.vim/pull/40/files
patches = [
(substituteAll {
src = ./patches/lens-vim/remove_duplicate_g_lens_animate.patch;
inherit languagetool;
})
];
});
vim-hier = super.vim-hier.overrideAttrs(old: {
buildInputs = [ vim ];
});

View file

@ -0,0 +1,12 @@
diff --git a/doc/lens.txt b/doc/lens.txt
index 60943ce..2fe43dc 100644
--- a/doc/lens.txt
+++ b/doc/lens.txt
@@ -76,7 +76,6 @@ g:lens#disabled_filenames
Default value is [].
*g:lens#animate*
- *g:lens#animate*
g:lens#animate
If value is 1 and animate.vim is installed, the window resize
will be animated.

View file

@ -38,6 +38,7 @@ brennanfee/vim-gui-position
bronson/vim-trailing-whitespace
brooth/far.vim
buoto/gotests-vim
camspiers/lens.vim
carlitux/deoplete-ternjs
ccarpita/rtorrent-syntax-file
cespare/vim-toml