Skip to content

Commit

Permalink
vimPlugins.minimap-vim: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Coudron committed Sep 17, 2021
1 parent 57131f1 commit 22caffa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
, xkb-switch
, ycmd

# test dependencies
, neovim-unwrapped

# command-t dependencies
, rake
, ruby
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 22caffa

Please sign in to comment.