diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-01-21 20:45:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 20:45:06 +0000 |
commit | fa8f1340ffbc65b2a79aa412948c6d996a460d7a (patch) | |
tree | dae95f1725f81f776da39e42d90a5599b8de7f30 /pkgs/misc | |
parent | 68553b756fa2caafbb878002b8f0f6b17d4cf486 (diff) | |
parent | 2bc0e00372b60eeb80797f193f6a963ce10a0516 (diff) |
Merge pull request #53084 from timokau/neovim-remote-plugins
neovim: generate remote plugin manifest
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/vim-plugins/build-vim-plugin.nix | 2 | ||||
-rw-r--r-- | pkgs/misc/vim-plugins/vim-utils.nix | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/build-vim-plugin.nix b/pkgs/misc/vim-plugins/build-vim-plugin.nix index fe60ad21c7529..b797f49df9e01 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/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix index cf5eeaec3e332..2a758aa984335 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 ]; + }; } |