From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4AqmD3wCjGCeVAEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 15:13:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id O6c6C3wCjGA2PAAAbx9fmQ (envelope-from ) for ; Fri, 30 Apr 2021 13:13:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E3B6924B2B for ; Fri, 30 Apr 2021 15:13:31 +0200 (CEST) Received: from localhost ([::1]:51028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcSxX-00055y-0i for larch@yhetil.org; Fri, 30 Apr 2021 09:13:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcS6y-00076V-1P for guix-devel@gnu.org; Fri, 30 Apr 2021 08:19:12 -0400 Received: from flashner.co.il ([178.62.234.194]:48596) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcS6v-0007u6-HZ for guix-devel@gnu.org; Fri, 30 Apr 2021 08:19:11 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id D539F400AC; Fri, 30 Apr 2021 12:19:07 +0000 (UTC) Date: Fri, 30 Apr 2021 15:19:05 +0300 From: Efraim Flashner To: Jack Hill Subject: Re: Neovim plugin/addon packaging Message-ID: Mail-Followup-To: Jack Hill , guix-devel@gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qlIlx0T9S8htanri" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619788412; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=L8KMdj1vKxC2TXjNNddT48QAzYgA/5dhm21J2pubwik=; b=vB8bAO/oYBoyg5l9o8EVqg4G8qtqk/Tjcr2elvSCiADZcOuV5OQcDNA41xewmtxFKnWLO0 U8FcyH8AjTspWZDhdW06+MhUm3Wvs1hMgV22vxnt2dpL2n/nukwrIlUXufAzD5TS2aJTcW Dah8ugnVCeNOFSdQBZf9kBXHcEyruRifvEm4q80NyDdaLXFR5HuS/1L1v0dWUGkDfRhwEC 3FNAX4yGKhf07RJnWfszZPr8LnXnzvluP7VupAt7VZW0y4Q1NdqTVAOio8m1/ulfKrhtD6 jEta3XBrUzGJvGmBteVnyh4fEP4+4c0nhldizO4gJGK26PfZMddsUY1jK3p2Ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619788412; a=rsa-sha256; cv=none; b=Bg/IBQ3B9q0bS5P4zVGXFq+snLM1cMyMKo5c61zzj42UKeDdf4gixRh0q/NVE6o/i8RFsr hnjVCQ7w5l14ZXa2GqqEYRH5Za23H9e/PIC2AfSe4pv1ujWpQPzvoLRVO9Wrm9HT4O9xfz b6mRrf2vhAPhCHfV/LbCdhYWDz6vXaDSy7SCZR6s+8Zzlo0D7Q9Aw5mGuurAsn83H5bJwn RvIPktYy0zfM59yrJx1FdgQZZlEHUwihifzraSrlJXvnMafakdXTC9F5JiJnIyMQ6TLOVJ AaVTSO1DN2h8ys4BkpedqsE2rtJiy6ryujTwRKLnKVviCLxyAmnHYvQM7B8/kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E3B6924B2B X-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: BGzL7FUb79+f --qlIlx0T9S8htanri Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 30, 2021 at 01:03:23AM -0400, Jack Hill wrote: > Greetings Guix, >=20 > I'd like to improve the experience of installing Neovim plugins/add-ons w= ith > Guix. I've submitted #48112 [0] which adds an XDG_DATA_DIRS search path so > nvim (the Neovim executable name) will be able to find plugins installed = by > guix at =E2=80=A6/share/nvim/site. I guess my first question is does it work? I think I first tried something similar for vim with 'share/vim/vimfiles' but it didn't actually work for vim. > Currently, we only have one such package, neovim-syntastic. I'd like to a= dd > more. Many plugins are compatible with both vim and nvim. However, they > search for plugins at different paths. Therefore, the vim-syntastic and > neovim-syntastic packages, which use the copy-build-system, differ only in > the destination directories of the install-plan (and changing "Vim" to > "Neovim" in the description). >=20 > My initial inclination is to remove the duplication of maintaining two > install-plans (and other arguments) by creating a procedure that would ta= ke > as input a Vim package that uses copy-build-system and output a Neovim > package with the install-plan re-written. >=20 > Perhaps that solution would be overwrought. How would you recommend handl= ing > this situation? My first idea would be to have the one package install the files into both directories and combine them, but I feel like it falls apart when it comes to searching for vim/neovim plugins and naming. One package with two names? Call it vim-neovim-syntastic? If vim/neovim move more apart and actually need separate plugins in the future then I guess it would make more sense to have two actual packages that can be installed by name (vim-foo and neovim-foo). > [0] https://issues.guix.gnu.org/48112 >=20 > Best, > Jack --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qlIlx0T9S8htanri Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCL9bYACgkQQarn3Mo9 g1EbuhAAsGNjiEvbFtxAZmcJ4Vcwbw2f2MaiGo0psz6dz3A0I5ZP7Zb5qIBDxPWQ b5x2MK13AoB1v9OT6igTm5cHeN/JNx9GfdnglyNf6ftU+51jlqMyt+t8PYT+EYiV uMLJDYVPlMM7a4jBMTjCkS2YzkxSMQz0+bVvEvSxed4TlP0Xx/FW+f1hXUzacIAn nqNyr45xMh4vZ8utVis1OUsr3+3gCMcy5rudt7jieqPasG1dYzAraJ/3p0tbdQsd oNsxCWfhIlW6Jj7ppJ/qczJEnUPZhbv2IeGAJLIZChNrz2UJTaxTfMi99MctPDE1 9WT4/pLiwel48s6LOykQwQ1zHf9mDqjhjcKHEYRePj9vKP9AKNmL3mfmQxEkGH30 fKxCeqkKSj2YmM/1VtO00FBfbqYoLTnkbaysLyeZUUqC5cRop54wezE6wFOjNEWb kzybT1w4G9VVqrk6cTeHmAvkeMupilYXfMAyH0YwR5Zu40XYFCuYbCnq4zsf4qGV Xj1Is5pLaNc1htFLEir2lRhQTLm/O9N8K/8KvwEk+CY3F00Y6GymSQrYEu1KiUA8 ZXYPL9mvg7qOd41QySaBtwnL3WRXoXTKyftPCO5f+RiVqiuUKoODL+UirXTD5j8u iayj1/pLHVylSMJguQGHqnvEMvTfeb2uzb1/EMGtEK7pWXy8BWQ= =Gxgo -----END PGP SIGNATURE----- --qlIlx0T9S8htanri--