From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 13:33:30 2022 Received: (at 54221) by debbugs.gnu.org; 2 Mar 2022 18:33:30 +0000 Received: from localhost ([127.0.0.1]:40755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPTn0-0002LG-6l for submit@debbugs.gnu.org; Wed, 02 Mar 2022 13:33:30 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:58578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPTmy-0002L8-JV for 54221@debbugs.gnu.org; Wed, 02 Mar 2022 13:33:29 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id 1WZT2700K4UW6Th01WZTs4; Wed, 02 Mar 2022 19:33:27 +0100 Message-ID: <1acd5a1f1b0c8ecdd001f93ca236933de0ea9c23.camel@telenet.be> Subject: Re: [bug#54221] [PATCH 1/4] gnu: vim: Use native-search-paths to search for plugins. From: Maxime Devos To: SeerLite , 54221@debbugs.gnu.org Date: Wed, 02 Mar 2022 19:33:27 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-CrUANkDeXVlm14LVzwGS" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646246007; bh=FN/ij39XlHT7zLj79ViyfwqCisfmFUVn5vPhkKrkn2c=; h=Subject:From:To:Date:In-Reply-To:References; b=Cl4KXumn5uj3IZSW0Nc2WvWHPhT4Hc9R7KfgXwapeBeAFN6/6ao/RA+7fashrnpsK 01ei9A56IMiIm/yV4Fk27ss4nHfe59RIMQxDZ4Q4dEZjRaaMtLh+SZL+D/xZZA3bsw rr0y5MVbZbwPAhTJ520fivZ4z5yRWQW3RTcxGTlPFgD3/Fr03qG2Nwm7tke0vQG4lw T2CE85x3MybCcs5g7+4E0foVhqAxgKn8DZEw2lqIbbMxt5k1qx60BaXaCuhdilpr7L 2GzxI8tRqHNVbsvNrIOM1J7N6JepCFUtKp9N0zHbFaQRefo0FBgIAAVXg1CtTnXwgX w5YJ9uVQRjTKQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54221 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-CrUANkDeXVlm14LVzwGS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable SeerLite via Guix-patches via schreef op wo 02-03-2022 om 10:17 [- 0300]: > -" This appends all of the vim plugins to the end of Vim's runtimepath. > -for directory in ["/run/current-system/profile", $HOME . "/.guix-profile= ", $HOME ."/.guix-home/profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT] > -=C2=A0=C2=A0=C2=A0 let vimplugins =3D directory . "/share/vim/vimfiles" > -=C2=A0=C2=A0=C2=A0 if isdirectory(vimplugins) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 let &rtp =3D join([&rtp,vimpl= ugins], ',') > -=C2=A0=C2=A0=C2=A0 endif > -endfor > +if !empty($GUIX_VIMRUNTIME) > +=C2=A0=C2=A0=C2=A0 set rtp+=3D$GUIX_VIMRUNTIME > +endif Nice! That would make the "--pure" option in "guix shell --pure vim perhaps-some-vim-plugins ... -- vim" actually work! (untested, I'm just _looking_ at the patches, not actually testing them) Greetings, Maxime. --=-CrUANkDeXVlm14LVzwGS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYh+4dxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pkqAP98Da0Lw+znYLFCBpMM6LG2Wo+S a8yHpaLPxvu5E3tsbgEAmBm8obMebXzXjeUCNljxUCrvRji5JNYZ8K4iAWJMTgw= =GaZ2 -----END PGP SIGNATURE----- --=-CrUANkDeXVlm14LVzwGS--