nixpkgs/pkgs
Marc Weber 613ca23e85 experimental/vim-vam-pathogen-vimrc-support
This patch implements derving a .vimrc from vim-plugins.nix loading those
plugins by either Pathogen or VAM (VAM seems to be slightly faster and is much
more powerful).

Example:

  environment.systemPackages = [
   # default plain vim
   vim_configurable

   # vim which get's called vim-with-addon-nix
   (vim_configurable.customize {
      name = "vim-with-addon-nix";
     vimrcConfig.vam.pluginDictionaries = [{name = "vim-addon-nix"; }];
   })
  ];

This way you can provide an "enhanced Vim" and a standard Vim.

Details about what this commit changes:
1) provide a new toplevel name vimrc which
  * provides a way to build up a .vimrc using either pathogen or VAM (knowing about plugin dependencies by name)
  * can enhance vim to support. vim.customize { name = "name-user"; vam.pluginDictionaries and/or pathogen.pluginNames = .. }
  * introduce rtp names for each vim plugin pointing to the runtimepath path
  * suggest naming to be the same as vim-pi so that VAM's dependencies work
  * derive some packages as example from vim-pi using VAM's new autoload/nix.vim
    supporting simple dependencies
  * test case for vim-addon-nix for VAM/pathogen

2) enhance vim_configurable to support .customize

3) update many plugins by using VAM's implementation not rewriting those which
  * vim-pi doesn't know about the git source yet (TODO: make vim-pi be aware of
    those)
  * have special build code

This commit partially conflicts with commits done by Bjørn Forsman starting by
37f961628b, eg the one using lower case attr and pkg names, because they don't
match vim-pi (eg YouCompleteMe). Rather than resolving the conflict this just
adds aliases so that both names can be used
2014-11-08 19:34:17 +01:00
..
applications Merge pull request #4669 from davidrusu/master 2014-10-26 20:03:31 +01:00
build-support Added an up-to-date http debian mirror for those without ftp access. 2014-10-25 17:10:22 +02:00
data tzdata: update 2014-10-25 21:37:24 +02:00
desktops vte: fix chroot build 2014-10-25 16:45:00 +02:00
development gcc-arm-embedded: add missing dependency on 'ncurses' 2014-10-26 19:45:34 +01:00
games anki: update to 2.0.31 2014-10-23 13:17:28 +02:00
misc experimental/vim-vam-pathogen-vimrc-support 2014-11-08 19:34:17 +01:00
os-specific Merge pull request #4587 from uzska/master 2014-10-24 09:39:40 +02:00
servers Merge pull request #4603 from exlevan/master 2014-10-23 21:24:58 +02:00
shells
stdenv
test
tools add rcm, Management Suite for Dotfiles 2014-10-26 00:17:26 +02:00
top-level experimental/vim-vam-pathogen-vimrc-support 2014-11-08 19:34:17 +01:00