Commit graph

502 commits

Author SHA1 Message Date
Jörg Thalheim 34aa254f9e
Merge pull request #56191 from tobim/restrict-vim-update
Restrict vim update.py to generated.nix
2019-03-03 22:12:45 +00:00
Jörg Thalheim dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Mateusz Gołębiewski 75211154ed vim: Allow independent setting of executable names
* Allow settign gvim wrapper name independently of vim wrapper name.
* Allow setting vim wrapper name independently of derivation name.
* Refactor multiple places where name was checked for null with default
  value.
2019-02-24 05:07:46 +01:00
Patrick Callahan b623da79e4 vim-utils: include vim man pages in the output of vim_customizable.customize 2019-02-24 04:31:00 +01:00
Tobias Mayer 134a061d93 Restrict vim update.py to generated.nix 2019-02-22 15:49:43 +01:00
Frederik Rietdijk 815b77cbe6 Merge master into staging-next 2019-02-18 14:18:04 +01:00
Jörg Thalheim cbd6457a88
Merge pull request #55654 from rvolosatovs/update/vim-plugins
vimPlugins: Update
2019-02-18 12:10:57 +00:00
Roman Volosatovs 37aacb9553
vimPlugins: Update 2019-02-16 21:01:32 +01:00
Tobias Mayer 2cab34af9a LanguageClient-neovim: 2018-09-07 -> 0.1.140 2019-02-15 23:17:36 +01:00
Matthew Bauer 5c09d977c7 Merge remote-tracking branch 'origin/master' into staging 2019-02-09 12:14:06 -05:00
Roman Volosatovs 23319c6746
vimPlugins: Update 2019-02-04 20:34:03 +01:00
Vladimír Čunát 8ba516664b
Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
Timo Kaufmann 2564e780b5
vimPlugins: update (#54889)
Auto-generated update.
2019-01-29 20:55:52 +01:00
Matthew Bauer 92f0f8dd68 Merge remote-tracking branch 'NixOS/master' into staging 2019-01-27 00:01:13 -05:00
Jörg Thalheim 544c227174
Merge pull request #54590 from symphorien/sved2
vimPlugins.sved: init
2019-01-26 09:20:34 +00:00
Symphorien Gibol fdf77854b4 vimPlugins.sved: init 2019-01-25 21:51:01 +01:00
Vladimír Čunát 3fe32b675e
Merge branch 'master' into staging 2019-01-22 15:59:42 +01:00
Jörg Thalheim fa8f1340ff
Merge pull request #53084 from timokau/neovim-remote-plugins
neovim: generate remote plugin manifest
2019-01-21 20:45:06 +00:00
ivegotasthma 6f19591b60 vimPlugins.bufexplorer: init at 2019-01-20 2019-01-20 20:26:34 +01:00
Timo Kaufmann ed1a8277ce
vimPlugins: add pname to remaining plugins (#54311)
This makes it possible to access plugin name and version seperately (and
reliably), e.g. for accessing the plugin directory using pname.
2019-01-19 13:18:27 +01:00
Timo Kaufmann 2bc0e00372 vimUtils.buildVimPlugin: write vim errors to stderr
Previously vim would silently fail when help tags couldn't be generated.
We need to pass the "verbose" flag (with verbose level 1) to convince
vim to print errors to standard error.
2019-01-18 21:18:35 +01:00
Timo Kaufmann ab22e8cc9c neovim: generate remote plugin manifest
This makes sure the user doesn't have to call `UpdateRemotePlugins`
manually for plugins installed through nix. A minor patch to neovim is
necessary, but it should be harmless. See
https://github.com/neovim/neovim/issues/9413 for a discussion about
the patch.
2019-01-18 21:18:32 +01:00
rnhmjoj bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Timo Kaufmann 67cf32751c vimPlugins.vim-slime: init at 2019-01-03 2019-01-08 22:04:27 +01:00
Timo Kaufmann f7113786af vimPlugins.neoterm: init at 2018-12-21 2019-01-08 21:59:31 +01:00
Timo Kaufmann 114a9e6bd4 vimPlugins: update 2019-01-08 17:55:56 +01:00
Dmitry Bogatov 1d41509599 vimPlugins.ansible-vim: init at 2.0 2019-01-03 22:48:14 +00:00
Timo Kaufmann e33d6364f6
Merge pull request #53240 from timokau/vim-drv-recursively
vimUtils: apply pluginToDrv recursively
2019-01-03 11:56:44 +01:00
wedens 88a82a4dc9 xkb-switch: 1.3.1 -> 1.5.0, rename from xkb_switch 2019-01-02 21:59:41 -05:00
Timo Kaufmann 801a548183 vimUtils: fix map parentheses 2019-01-02 22:59:19 +01:00
Timo Kaufmann f38363387e vimUtils: apply pluginToDrv recursively
This is necessary to handle plugin dependencies which also may be
strings.
2019-01-02 22:12:27 +01:00
Yegor Timoshenko f5d4254972 vim-parinfer: init (#53140) 2019-01-01 20:33:57 +01:00
Timo Kaufmann a0dc57e27b
vimUtils: derive pname from the plugin string (#53121)
For backwards compatibility. The user may specify their own plugins
without the pname attribute. In that case the attrname of the plugin
(given as a string) is the pname.

Fixes #53112
2018-12-31 16:26:06 +01:00
Timo Kaufmann 093cfde1e0 vimUtils: fix requiredPlugins
I broke this in #52767 and didn't notice because I only tested with vim
and `requiredPlugins` is only used by neovim. This would break setups
that use string-plugins (like pathogen) with neovim.
2018-12-31 10:31:14 +01:00
Roman Volosatovs f8ff164806 vimPlugins: Fix update.py, update (#53081) 2018-12-30 18:13:00 +01:00
Timo Kaufmann 30ff3e0f39
vimUtils.buildVimPlugin: fix helptag generation (#53071)
I messed that up in my refactoring in #52767, since I moved the relevant
bash code out of a function and failed to adjust the shell variable
name. Now the plugin build will fail loudly when help tag generation
fails to make sure this doesn't happen again.
2018-12-30 12:22:17 +01:00
Silvan Mosberger 50a5902319
Merge pull request #52513 from ceedubs/init-vim-lsc
vim-lsc: init at fe6d3bd
2018-12-29 22:25:02 +01:00
Timo Kaufmann 58b4351b38 vimPlugins.taglist-vim: fix build
The override actually broke the build, no idea why it was added
originally. The build works fine without it.
2018-12-28 13:31:58 +01:00
Timo Kaufmann af465293f1 vimPlugins: use fixed point 2018-12-27 11:55:53 +01:00
Timo Kaufmann 96b6396101 vimUtils.buildVimPlugin: derive name from pname and version 2018-12-27 10:34:14 +01:00
Timo Kaufmann edf8b984fa vimPlugins: Update 2018-12-27 10:32:27 +01:00
Timo Kaufmann 8e8a09bfc9 vimUtils: add dependency logic to nativeImpl
nativeImpl previously simply ignored dependency information.
2018-12-24 23:41:44 +01:00
Timo Kaufmann b352318cd1 vimUtils: represent vim plugins as derivations
Vim plugins were previously represented as strings by default,
necessitating a `knownPlugins` set. Backwards compatibility is kept
(strings are still accepted), so vam plugins should continue to work.
2018-12-24 23:41:41 +01:00
Timo Kaufmann ce7899bea5 vimPlugins.ncm2-jedi: init at 2018-07-18 2018-12-24 23:40:44 +01:00
Timo Kaufmann 1e25b748fa vimPlugins: Update 2018-12-23 23:30:11 +01:00
Cody Allen 4699d76d98
vim-lsc: init at fe6d3bd
`natebosch/vim-lsc` is a language server client plugin for vim/neovim. This commit
adds it to the `vim-plugin-names` file and the generated vim-plugins
file.

This is a reboot of #52407 that doesn't call the `update.py` script for
vim plugins, because doing so led to quick merge conflicts. Let me know
if there is a preferred way to do this.
2018-12-18 20:04:40 -08:00
Mario Rodas a506fb228d
vimPlugins.Recover-vim: init at 2018-10-22 2018-12-18 08:15:42 -05:00
Roman Volosatovs 8c836fab9c
vimPlugins: Update 2018-12-15 13:48:38 +01:00
Rok Garbas 7cbb09a2ec vimPlugins: update all plugins to latest and adding vimux and neovim-sensible plugins 2018-12-12 22:09:39 +01:00
Roman Volosatovs 75a1dfbe75
vimPlugins: Update 2018-12-09 16:24:46 +01:00