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 gnvim: fix install phase with Rust with custom target 2021-03-06 22:02:30 +01:00
ruby_provider update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
default.nix treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
neovim-qt.nix treewide: remove redundant stdenv 2021-03-26 12:18:16 +07:00
neovim-remote.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
qt.nix neovim-qt-unwrapped: init at 2.16.1 2021-03-22 10:31:26 +01:00
system_rplugin_manifest.patch neovim: generate remote plugin manifest 2019-01-18 21:18:32 +01:00
utils.nix neovim: take into account vi(m)Alias 2020-11-03 09:31:56 +01:00
wrapper.nix tests.vim: init (moved from vim-utils.nix) (#119467) 2021-04-21 12:55:05 +02:00