From patchwork Fri Apr 30 04:39:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Hill X-Patchwork-Id: 28992 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40D2427BC7D; Fri, 30 Apr 2021 05:40:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 188AD27BC7C for ; Fri, 30 Apr 2021 05:40:19 +0100 (BST) Received: from localhost ([::1]:46640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcKws-00059W-8S for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 00:40:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcKwc-00059P-2y for guix-patches@gnu.org; Fri, 30 Apr 2021 00:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcKwb-0002iP-RI for guix-patches@gnu.org; Fri, 30 Apr 2021 00:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcKwb-00088Y-Nk for guix-patches@gnu.org; Fri, 30 Apr 2021 00:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48112] [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec. Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 04:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48112 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48112@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161975758131240 (code B ref -1); Fri, 30 Apr 2021 04:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2021 04:39:41 +0000 Received: from localhost ([127.0.0.1]:57246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcKwH-00087o-Al for submit@debbugs.gnu.org; Fri, 30 Apr 2021 00:39:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:48248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcKwC-00087B-Lx for submit@debbugs.gnu.org; Fri, 30 Apr 2021 00:39:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcKwB-00058m-G0 for guix-patches@gnu.org; Fri, 30 Apr 2021 00:39:35 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:36160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcKw9-0002MC-Lk for guix-patches@gnu.org; Fri, 30 Apr 2021 00:39:35 -0400 Received: from [2001:470:8:9f5:f850:c9a2:75c6:a2d9] (helo=alperton.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcKw8-0000uu-EG for guix-patches@gnu.org; Fri, 30 Apr 2021 00:39:32 -0400 From: Jack Hill Date: Fri, 30 Apr 2021 00:39:19 -0400 Message-Id: <20210430043919.17536-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vim.scm (neovim)[native-search-paths]: New field. --- gnu/packages/vim.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 5d2beb531b..453a13eabe 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -676,6 +676,14 @@ are detected, the user is notified."))) (substitute* "cmake/GetCompileFlags.cmake" (("\\$\\{CMAKE_C_COMPILER\\}") "/gnu/store/.../bin/gcc")) #t))))) + (native-search-paths + ;; Neovim searches the nvim/site subdirectory of each XDG_DATA_DIRS entry + ;; for plugins and other addons. In nvim see `:help runtimepath` + ;; https://neovim.io/doc/user/options.html#'runtimepath' + (list (search-path-specification + (variable "XDG_DATA_DIRS") + (separator ":") + (files '("share"))))) (inputs `(("libuv" ,libuv) ("msgpack" ,msgpack)