Merge pull request #46982 from tkerber/fix-plug

vim-utils: fix broken vim-plug implementation.
This commit is contained in:
Jörg Thalheim 2018-09-20 18:34:30 +01:00 committed by GitHub
commit 9134d44998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,14 +198,14 @@ let
/* vim-plug is an extremely popular vim plugin manager. /* vim-plug is an extremely popular vim plugin manager.
*/ */
plugImpl = lib.optionalString (plug != null) plugImpl = lib.optionalString (plug != null)
'' (''
source ${vimPlugins.vim-plug.rtp}/plug.vim source ${vimPlugins.vim-plug.rtp}/plug.vim
call plug#begin('/dev/null') call plug#begin('/dev/null')
'' + (lib.concatMapStringsSep "\n" (pkg: "Plug '${pkg.rtp}'") plug.plugins) + '' '' + (lib.concatMapStringsSep "\n" (pkg: "Plug '${pkg.rtp}'") plug.plugins) + ''
call plug#end() call plug#end()
''; '');
/* /*
vim-addon-manager = VAM vim-addon-manager = VAM