3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

55 commits

Author SHA1 Message Date
Arseniy Seroka b11927ff68 Revert "vim-plugins: update"
This reverts commit b736b20203.

Because `vim-plugin-names-to-nix` doesn't create sha's.
2014-12-18 02:41:47 +03:00
Arseniy Seroka b736b20203 vim-plugins: update 2014-12-18 02:39:51 +03:00
Arseniy Seroka 22dfaefea5 yunocommit-vim: fix link 2014-12-05 02:32:36 +03:00
Arseniy Seroka 3342729bd0 yunocommit-vim: update plugin 2014-12-05 01:50:55 +03:00
Marc Weber abd016cea8 Refactoring vim plugins again:
- sort automatcially generated vim derivations
- move the plugins to be derived by VAM into its own file: vim-plugin-names
- rename vimrc into vimUtils moving all common code into it
  so that it is possible to use it within ~/.nixpkgs/config.nix
- Moving all important documentation into vimUtils
- provide vimPlugins.pluginnames2Nix to provide a bin/vim-* command
  writing updated derivations into its buffer

VAM's repository's nix.vim got some improvements @ VAM repository, eg hg
fetchout out got fixed and shell failures are noticed now (Thanks to Arseniy
Seroka)
2014-12-04 15:32:38 +01:00
Lysergia eb7f8666f2 Fix the Vim Plugins Documentation 2014-11-30 17:12:32 -05:00
Arseniy Seroka 3367a28270 fix typos and remove useless imports 2014-11-24 02:44:27 +03:00
Arseniy Seroka ec8bfcb696 racer: add pkg and vim plugin 2014-11-24 02:41:36 +03:00
Arseniy Seroka f54f79e5a3 sort plugins 2014-11-20 23:49:17 +03:00
Arseniy Seroka 555e3a0deb vim: add plugins 2014-11-19 01:12:54 +03:00
Aristid Breitkreuz d50cb78b78 vim-plugins/YouCompleteMe: fix build 2014-11-16 17:27:13 +01:00
Arseniy Seroka 9b2cff2fc7 fix missing sha and rev 2014-11-13 22:43:32 +03:00
Arseniy Seroka 2399edd633 fix travis eval and remove duplicate 2014-11-13 00:18:47 +03:00
Arseniy Seroka ad2160f9b4 vim-plugins: fix missing deps 2014-11-12 23:29:47 +03:00
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
Arseniy Seroka 454590f884 vim-plugins: add and update 2014-10-21 15:42:35 +02:00
Bjørn Forsman 796e67169f vim-plugins: sort alphabetically 2014-10-20 17:45:28 +02:00
Bjørn Forsman 9d0b455960 vim-plugins: use commit dates instead of commit ids as version numbers
Git commit ids shouldn't be used as version numbers in nixpkgs:
* they don't increase monotonically
* they don't always start with a digit, causing nix to not parse them as
  version numbers, and instead sees them as part of the package name,
  causing the package to (seemingly) conflict with itself upon upgrade.
2014-10-20 17:45:28 +02:00
Bjørn Forsman 94e0d3c6c2 vim-plugins: coffee-script: start version number with digit
Or else nix will see it as part of package name.
2014-10-20 17:45:28 +02:00
Bjørn Forsman c60c0ede9a vim-plugins: use lower case attr and pkg names
(According to the nixpkgs manual.)

Keep old attrnames around for backward compatibility.
2014-10-20 17:45:27 +02:00
Bjørn Forsman e6c1973971 vim-plugins: update source hash for command-t
And use fetchzip instead of fetchurl towards github.com to not let this
happen again. (fetchzip checks the hash on the *extracted* archive, so
changes in compression algo etc. doesn't change the hash.)
2014-10-20 17:45:27 +02:00
Bjørn Forsman 5165ee6ff3 vim-plugins: buildVimPlugin: drop needless 'path' argument
Derive 'path' from the plugin name instead.
2014-10-20 17:45:27 +02:00
Bjørn Forsman 37f961628b vim-plugins: prefix all plugin names with 'vimplugin-'
Currently some plugins use "vim-" prefix, some use "-vim" suffix and
some have no prefix or suffix at all.

I chose "vimplugin-" prefix to match the attribute path: vimPlugins.*
2014-10-20 17:45:27 +02:00
Bjørn Forsman f58ff54520 vim-plugins: rename simpleDerivation to buildVimPlugin 2014-10-20 17:45:26 +02:00
Thomas Strobel bd57c29032 Update vim plugin vimproc, and add patch for ghc-mod vim plugin
Closes #4490
2014-10-12 13:20:04 +01:00
Bjørn Forsman 4353e5380b youcompleteme (vim plugin): use commit date as version number
Using a git commit id as version number doesn't work well, so use the
commit date instead.

Also, there is no other version of YouCompleteMe than the git version,
so drop 'git' from the package name.
2014-10-03 20:53:15 +02:00
Bjørn Forsman abaf2dbeae youcompleteme (vim plugin): update to latest
patchShebangs fixes build failure in chroot (in this new version).

The --system-libclang flag is now needed to prevent YouCompleteMe from
trying to download and build clang (which fails).
2014-10-03 20:51:15 +02:00
Thomas Strobel 455b8dd9d8 Add package: vim plugin: vimoutliner
Closes #4252
2014-09-24 20:36:36 +01:00
Thomas Strobel 8700f46a8f Vim-plugins: add vim-pathogen 2014-08-15 19:45:32 +02:00
Shea Levy 82666653d2 Merge branch 'new-vim-plugins' of git://github.com/ts468/nixpkgs 2014-08-14 21:32:52 -04:00
Shea Levy 34a3986b14 vim-pluings: Fix missing hash 2014-08-14 21:32:44 -04:00
Thomas Strobel 4dba947701 Added a few VIM plugins. 2014-08-13 20:58:26 +02:00
Eelco Dolstra f64d84698e Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/applications/audio/espeak/edit.nix
	pkgs/applications/audio/lmms/default.nix
	pkgs/desktops/e18/enlightenment.nix
	pkgs/games/exult/default.nix
	pkgs/os-specific/linux/alsa-plugins/default.nix
2014-07-28 11:30:49 +02:00
Rok Garbas 0953235369 vimPlugins.YouCompleteMe: updated to latest 2014-07-24 12:43:43 +02:00
Eelco Dolstra 4f7289eec9 Don't use ensureDir 2014-07-22 11:01:32 +02:00
Eelco Dolstra 7f410ef923 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/misc/vim-plugins/default.nix
2014-07-22 11:00:00 +02:00
Paul Colomiets 8d9ff87c14 Add several vim plugins
Added are:
* ctrlp
* vim-a
* colorsamplerpack
* yankring
2014-07-15 14:59:15 +02:00
Paul Colomiets 496d12958e Add automatic plugin activation for vim 2014-07-15 14:59:15 +02:00
Eelco Dolstra 40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Arseniy Seroka ad8aeebad8 vim-plugins: update and upgrade 2014-04-21 19:21:18 +02:00
Shea Levy 4d5d6aed29 Merge branch 'vimPlugins.YouCompleteMe/update' of git://github.com/offlinehacker/nixpkgs
vimPlugins.YouCompleteMe: update to ee12530df0

Conflicts:
	pkgs/misc/vim-plugins/default.nix
2014-03-14 18:50:21 -04:00
Jason "Don" O'Conal c95b774f52 vimPlugins.golang: add expression 2013-12-16 01:21:23 +00:00
Jason \"Don\" O'Conal db5c6917f3 vimPlugins.ipython: add expression
close #1141
2013-10-29 15:45:46 +02:00
Jason "Don" O'Conal 3c3c631a45 vimPlugins.vimshell: add expression
vimPlugins.vimproc: add expression
close #978
2013-10-20 23:35:53 +03:00
Jaka Hudoklin fc991159d8 vimPlugins.YouCompleteMe: update to ee12530df0 2013-09-25 20:02:41 +02:00
Jason "Don" O'Conal 575be7dd4b vimPlugins.tagbar: add expression 2013-09-08 21:13:40 +02:00
Jason "Don" O'Conal 499109b7dd vimPlugins.syntastic: update to 3.1.0 2013-09-08 21:09:14 +02:00
Jason "Don" O'Conal 77cf3c3e0c vimPlugins.taglist: add expression 2013-08-22 12:26:27 +03:00
Jason "Don" O'Conal ed3b966870 vimPlugin.eighties: add expression 2013-08-22 10:43:59 +10:00
Marc Weber 84ca773f9b use simpleDerivation for all Vim plugins 2013-07-19 20:17:42 +02:00