nixpkgs/pkgs/test
Matthieu Coudron b3abdc9534
tests.vim: init (moved from vim-utils.nix) (#119467)
* tests.vim: init (moved from vim-utils.nix)

Moved tests from pkgs/misc/vim-plugins/vim-utils.nix to pkgs/test/vim.
Also reduced the amount of generated config:
- Make it possible to have an empty config when configured adequately
- removed default vim config when using native packages, it could be
  source of bugs see linked issues (syntax on overrides vim highlights)

Things to watch out for:
- if you set configure.beforePlugins yourself, you will need to add set nocompatible too not to lose it
- filetype indent plugin on | syn on is not enabled anymore by default for the vim-plug installer: I dont think we should override vim defualts, at least not here since it is shared with neovim. Also sometimes it's enabled before plugins (pathogen etc,) which is not consistent.


you can run the tests via
$ nix-build -A tests.vim
2021-04-21 12:55:05 +02:00
..
cc-wrapper treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
cross pkg-config-wrapper: Init 2020-05-16 00:21:21 +00:00
cuda cudatoolkit-{9,9_0,9_1,9_2}: remove 2021-04-18 11:55:10 +02:00
haskell-documentationTarball haskell: Add documentationTarball to lib 2020-11-13 21:37:56 +01:00
haskell-shellFor treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
install-shell-files treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ld-library-path treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
macos-sierra-shared treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
mkOption
nixos-functions tests.nixos-functions: port test to python 2020-02-09 23:53:58 +01:00
patch-shebangs tests.patch-shebangs: add case for ignoring store paths 2021-02-09 13:07:49 +09:00
rust-sysroot rust: Clean up target configs and test some more 2020-11-28 19:36:28 +00:00
simple Remove cruft 2016-04-26 17:31:54 +02:00
stdenv-inputs treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
texlive texlive.bin.dvipng: refactor gs hardcoding, add a test for it 2021-03-18 20:55:35 -04:00
vim tests.vim: init (moved from vim-utils.nix) (#119467) 2021-04-21 12:55:05 +02:00
default.nix tests.vim: init (moved from vim-utils.nix) (#119467) 2021-04-21 12:55:05 +02:00
kernel.nix kernel: fix config generation 2020-04-01 22:25:57 +02:00