1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
cross
cuda cudatoolkit-{9,9_0,9_1,9_2}: remove 2021-04-18 11:55:10 +02:00
haskell-documentationTarball
haskell-shellFor
install-shell-files
ld-library-path
macos-sierra-shared
mkOption
nixos-functions
patch-shebangs
rust-sysroot
simple
stdenv-inputs
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