vim-utils: fix broken vim-plug implementation.

This commit is contained in:
Thomas Kerber 2018-09-20 14:41:12 +01:00
parent 280ebc2e40
commit 3afe74864c
No known key found for this signature in database
GPG Key ID: 8489B911F9ED617B

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