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 vim: remove legacy additional-nix-code 2018-09-23 14:56:27 +01:00
aliases.nix Merge pull request #83119 from ryneeverett/vim-plugins-update-redirects 2020-03-27 17:48:32 +00:00
build-vim-plugin.nix treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
default.nix vimPlugins: Automatically sort vim-plugin-names. 2020-03-26 05:56:31 +00:00
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 documentation about adding new Vim plugins to nixpkgs 2019-07-14 17:13:29 -07:00
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.