Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát
2019-01-22 15:59:42 +01:00
266 changed files with 5298 additions and 2613 deletions

View File

@@ -37,7 +37,7 @@ rec {
# build help tags
if [ -d "$target/doc" ]; then
echo "Building help tags"
if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $target/doc" +quit!; then
if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -V1 -c "helptags $target/doc" +quit!; then
echo "Failed to build help tags!"
exit 1
fi

View File

@@ -158,6 +158,17 @@ let
};
};
bufexplorer = buildVimPluginFrom2Nix {
pname = "bufexplorer";
version = "2018-12-10";
src = fetchFromGitHub {
owner = "jlanzarotta";
repo = "bufexplorer";
rev = "be69e397e502803db7d7f0a0e0491282ab2197a5";
sha256 = "0brhbkj34yxyq5gvjkqakq0m9zwa981rv6ksca07qhw3nzpxhlkd";
};
};
calendar-vim = buildVimPluginFrom2Nix {
pname = "calendar-vim";
version = "2018-11-02";

View File

@@ -19,18 +19,21 @@
self: super: {
vim2nix = buildVimPluginFrom2Nix {
name = "vim2nix";
pname = "vim2nix";
version = "1.0";
src = ./vim2nix;
dependencies = with super; [ vim-addon-manager ];
};
fzfWrapper = buildVimPluginFrom2Nix {
name = fzf.name;
pname = "fzf";
version = fzf.version;
src = fzf.src;
};
skim = buildVimPluginFrom2Nix {
name = skim.name;
pname = "skim";
version = skim.version;
src = skim.vim;
};
@@ -54,7 +57,8 @@ self: super: {
'';
};
in buildVimPluginFrom2Nix {
name = "LanguageClient-neovim-2018-09-07";
pname = "LanguageClient-neovim";
version = "2018-09-07";
src = LanguageClient-neovim-src;
propogatedBuildInputs = [ LanguageClient-neovim-bin ];
@@ -67,7 +71,8 @@ self: super: {
# do not auto-update this one, as the name clashes with vim-snippets
vim-docbk-snippets = buildVimPluginFrom2Nix {
name = "vim-docbk-snippets-2017-11-02";
pname = "vim-docbk-snippets";
version = "2017-11-02";
src = fetchgit {
url = "https://github.com/jhradilek/vim-snippets";
rev = "69cce66defdf131958f152ea7a7b26c21ca9d009";

View File

@@ -110,6 +110,7 @@ jgdavey/tslime.vim
jhradilek/vim-docbk
jiangmiao/auto-pairs
jistr/vim-nerdtree-tabs
jlanzarotta/bufexplorer
jnurmine/zenburn
jonbri/vim-colorstepper
joonty/vim-xdebug

View File

@@ -486,4 +486,12 @@ rec {
});
vimrcConfig.vam.pluginDictionaries = [ { names = [ "vim-trailing-whitespace" ]; } ];
};
# system remote plugin manifest should be generated, deoplete should be usable
# without the user having to do `UpdateRemotePlugins`. To test, launch neovim
# and do `:call deoplete#enable()`. It will print an error if the remote
# plugin is not registered.
test_nvim_with_remote_plugin = neovim.override {
configure.pathogen.pluginNames = with vimPlugins; [ deoplete-nvim ];
};
}