3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

948 commits

Author SHA1 Message Date
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
Jason "Don" O'Conal 1d7d0addcc vim-plugins: add expression command-t
* also fix build of vim on darwin
2013-07-14 11:24:45 +10:00
Jason "Don" O'Conal 72afda56d5 vim-xdebug: add expression 2013-06-27 11:21:11 +10:00
Jason "Don" O'Conal 60fd718856 vim-coffee-script: add expression 2013-06-21 15:11:07 +10:00
Jason "Don" O'Conal 4968acde6b Add vim syntastic plugin 2013-06-15 13:22:11 +10:00
Marc Weber 71628d6e35 vim: supporting multiple sources:
- vim-nox: client-server implementation without X
- latest:  latest mercurial sources (still very stable)
- default: latest release

vim-plugins: Introduce an area to put vim plugins which are worth adding to nix
because they need more effort than just "unpacking". Document that
2013-05-27 22:26:29 +02:00