3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/neovim
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
..
gnvim
ruby_provider
default.nix
neovim-qt.nix treewide: remove redundant stdenv 2021-03-26 12:18:16 +07:00
neovim-remote.nix
qt.nix
system_rplugin_manifest.patch
utils.nix
wrapper.nix tests.vim: init (moved from vim-utils.nix) (#119467) 2021-04-21 12:55:05 +02:00