From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OLB3E88p92NHXwEAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 09:54:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GBmeEs8p92MHzgAAG6o9tA (envelope-from ) for ; Thu, 23 Feb 2023 09:54:39 +0100 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 19BA916075 for ; Thu, 23 Feb 2023 09:54:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=KzO6EsoI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677142479; a=rsa-sha256; cv=none; b=sbaKfUWp+mo0zmop6lsBLGrvsH9uGaFxBgogoSoi9ri4NF1Sh1C0L1AUFLkdQiRIqeLL76 wANbdCbkLI8uaWRvoRu/gE+9HHpwarvmfLi1qfAYwx2N8eyjiJu4SmN32PPcCzhMFtvCEN iU3e2+SVmdm4aDbUlZuwyzx9Pr/MsITmBni0QV9Nfpmi3NmKOy3WZWCg5DB5rMbsj4binm H0ONv5Frfp/+h4elMircHtgAVrkBwYKwfPBi57eRgEgKH6iqKIEpagtpaVMF3Mo8EWdHOz dAIuxytXd/ZY0KLgnyx/yxd9oi/eal67x8XsMuHyh29mueOg8iPHieuK4AJ2Pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=KzO6EsoI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677142479; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PTxFni2iEKNG+6w1BkDJjnI4MtIopbFrXGGwZ9tEudc=; b=X+84vLC+SpP1Lawzq+7E5a30cWtQYOuEova3jz1J672iCV6WXgKn9SJuDDGBlPdtJUUJYG cdclECqDy5qEb5SkBOyA0EoX4XG8wPjYW25I9Oib/oOTfKMpuxLsyvUDQJFey9BSPznrBQ YKoeHUPx9B9i72JofPK2zYFD70q8vCXkz+WuFdPyWv1QUlEeRm6M1lYHs8CUgZ+olsqkEP vUunxD5LcR7MKDc2tv2ozC3f9eU4GL5SjfTDh9KwVdaYyO/B1E8x/TeiX31mOO1Fw7XigK ivDVquaechwsQQXdLosSn+s2xMafD/ursFYegdFA3hBCXzCyyZWiuDYqdCalwA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV7Mp-0006oD-CJ; Thu, 23 Feb 2023 03:54:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUvjR-00026p-7i for help-guix@gnu.org; Wed, 22 Feb 2023 15:28:53 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUvjO-00040e-MZ for help-guix@gnu.org; Wed, 22 Feb 2023 15:28:52 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1F2464151B; Wed, 22 Feb 2023 21:28:47 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id johfGXGCaQWa; Wed, 22 Feb 2023 21:28:45 +0100 (CET) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1677097725; bh=RAwB+NNs5yMcbOlZmz7G4T82rz9FNKc7cLU/R4vwNZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=KzO6EsoIfkVL25gIFSCfgSEVq4rMDmUfDB9ocM8q8pf0P6k7YhaecUG4sNyjqf2WV +5EkFbww6IexqRE9Nc5g5bbXBnPmzXUeKpT7e5GsDs6JBq/OuD/dYXk6lzAac8Sl9g JTkhTt/pLQJoVPpJ99P+bmbg002wW3pYUuXjzeP8vXARDRQtUJTiwdGO5Yx2hzEW0z Cx8o4LL0oDZ1rtUae61UpHwmkylUXjMBTmW2zYDjbR6hzt97cP6I6ILGvHNKkIR2Wk AyGNfcObex2YDHzV4kgp/e0hwsKnUNkRIAoxRasCY6mG3g/2L6BX3n04eyv7CxNpIS tHN1GStmoqVZA== Date: Wed, 22 Feb 2023 21:28:45 +0100 From: SeerLite To: nils@promisedlandt.de Cc: Efraim Flashner , help-guix@gnu.org Subject: Re: Generating helptags for vim plugins In-Reply-To: <291541103.381025.1676975528001@office.mailbox.org> References: <1973776289.362054.1676801397268@office.mailbox.org> <291541103.381025.1676975528001@office.mailbox.org> Message-ID: <171ce6c5a88fcf457099f68031a23e40@disroot.org> X-Sender: seerlite@disroot.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=seerlite@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Feb 2023 03:54:18 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 19BA916075 X-Spam-Score: -7.89 X-Migadu-Spam-Score: -7.89 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: kPENdLaNLebS On 2023-02-21 11:32, nils@promisedlandt.de wrote: > I also think that having each plugin in its own folder is the most > robust solution. Both vim and neovim have package loading that works > with no or minimal configuration for quite a few years now, and to me > it makes sense if guix adds the plugins in the structure the built-in > loaders expect. > However, I would not expect the user to have to :packadd each plugin > separately. Having plugins autoload is the behaviour with the current > guix packages, and I think that's the most common use case anyway. > For that, I think all that needs to be done is to install the plugins > at ~/.guix-home/profile/share/vim/plugins/pack/guix/start/ > and then having set packpath=~/.guix-home/profile/share/vim/plugins in > the system vimrc. > > For neovim plugins, the path would be > ~/.guix-home/profile/share/nvim/site/pack/guix/start/. Hi! Whichever way you go I recommend you avoid hardcoded paths and instead use search paths. This way you can have Vim and its plugins in a non-default profile and no collisions or unexpected sourcing will happen in `guix shell`. `--pure` should be pure! See my old patch for more info: SeerLite