mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
vimPlugins.minimap-vim: add test
This commit is contained in:
parent
57131f173e
commit
22caffad3a
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue