vimPlugins.minimap-vim: add test

This commit is contained in:
Matthieu Coudron 2021-09-16 18:46:27 +02:00
parent 57131f173e
commit 22caffad3a

View file

@ -37,6 +37,9 @@
, xkb-switch
, ycmd
# test dependencies
, neovim-unwrapped
# command-t dependencies
, rake
, ruby
@ -392,6 +395,12 @@ self: super: {
substituteInPlace $out/bin/minimap_generator.sh \
--replace "code-minimap" "${code-minimap}/bin/code-minimap"
'';
doCheck = true;
checkPhase = ''
${neovim-unwrapped}/bin/nvim -n -u NONE -i NONE -V1 --cmd "set rtp+=$out" --cmd "runtime! plugin/*.vim" -c "MinimapToggle" +quit!
'';
});
ncm2 = super.ncm2.overrideAttrs (old: {