nixpkgs/pkgs/misc/vim-plugins
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
..
patches vimPlugins.lens-vim: init at 2020-04-24 2020-12-08 09:55:45 -08:00
vim2nix
aliases.nix
build-vim-plugin.nix treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
default.nix
deprecated.json vimPlugins: resolve github repository redirects 2021-04-20 10:34:25 -04:00
generated.nix Merge pull request #119901 from KyleOndy/add-vim-dispatch-neovim 2021-04-20 23:21:04 +02:00
overrides.nix vimPlugins: cleanup overrides arguments 2021-04-19 14:16:22 -07:00
readme.md
update.py vimPlugins: add vim and kakoune update script 2021-02-25 10:05:22 +01:00
vim-plugin-names Merge pull request #119901 from KyleOndy/add-vim-dispatch-neovim 2021-04-20 23:21:04 +02:00
vim-utils.nix tests.vim: init (moved from vim-utils.nix) (#119467) 2021-04-21 12:55:05 +02:00

Instructions for adding Vim plugins to nixpkgs can be found here.