fix: remove trailing '/.' from vim-plug plugin paths

For some reason vim-plug doesn't seem to like that. This fixes it so
that it can properly load the plugins.

authored by anirudhb and committed by Matthieu Coudron d9d1a11a 483b311b

+3 -1
+3 -1
pkgs/misc/vim-plugins/vim-utils.nix
··· 292 293 /* vim-plug is an extremely popular vim plugin manager. 294 */ 295 plugImpl = 296 ('' 297 source ${vimPlugins.vim-plug.rtp}/plug.vim 298 silent! call plug#begin('/dev/null') 299 300 - '' + (lib.concatMapStringsSep "\n" (pkg: "Plug '${pkg.rtp}'") plug.plugins) + '' 301 302 call plug#end() 303 '');
··· 292 293 /* vim-plug is an extremely popular vim plugin manager. 294 */ 295 + /* Remove repeated "/." suffixes from a path */ 296 + stripDots = path: lib.head (builtins.split "(/\\.)*$" path); 297 plugImpl = 298 ('' 299 source ${vimPlugins.vim-plug.rtp}/plug.vim 300 silent! call plug#begin('/dev/null') 301 302 + '' + (lib.concatMapStringsSep "\n" (pkg: "Plug '${stripDots pkg.rtp}'") plug.plugins) + '' 303 304 call plug#end() 305 '');