diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2019-01-22 15:59:42 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2019-01-22 15:59:42 +0100 |
commit | 3fe32b675e1605cbc830fa52c0593747fa4dd7e2 (patch) | |
tree | e0b31e2df8f0734290232b1b0d61d0716731e296 /pkgs/misc/vim-plugins | |
parent | a903c60c627f42461d3e6f9780d26a80f8e51470 (diff) | |
parent | b7d4a356be49501ea046b28db28dc2807f5fccdb (diff) | |
download | nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar.gz nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar.bz2 nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar.lz nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar.xz nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.tar.zst nixlib-3fe32b675e1605cbc830fa52c0593747fa4dd7e2.zip |
Merge branch 'master' into staging
Diffstat (limited to 'pkgs/misc/vim-plugins')
-rw-r--r-- | pkgs/misc/vim-plugins/build-vim-plugin.nix | 2 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/generated.nix | 11 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/overrides.nix | 15 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim-plugin-names | 1 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim-utils.nix | 8 |
5 files changed, 31 insertions, 6 deletions
diff --git a/pkgs/misc/vim-plugins/build-vim-plugin.nix b/pkgs/misc/vim-plugins/build-vim-plugin.nix index fe60ad21c752..b797f49df9e0 100644 --- a/pkgs/misc/vim-plugins/build-vim-plugin.nix +++ b/pkgs/misc/vim-plugins/build-vim-plugin.nix @@ -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 diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix index c18ce070c1c0..4feaebf9058d 100644 --- a/pkgs/misc/vim-plugins/generated.nix +++ b/pkgs/misc/vim-plugins/generated.nix @@ -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"; diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index febdd94e1198..9a29ba82dae6 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -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"; diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index 262a32778878..3c39a7eeb4e1 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -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 diff --git a/pkgs/misc/vim-plugins/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix index 9216c4a4eb79..360a98fd5670 100644 --- a/pkgs/misc/vim-plugins/vim-utils.nix +++ b/pkgs/misc/vim-plugins/vim-utils.nix @@ -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 ]; + }; } |