From unknown Fri Jun 13 09:55:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48112 <48112@debbugs.gnu.org> To: bug#48112 <48112@debbugs.gnu.org> Subject: Status: [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec. Reply-To: bug#48112 <48112@debbugs.gnu.org> Date: Fri, 13 Jun 2025 16:55:12 +0000 retitle 48112 [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec. reassign 48112 guix-patches submitter 48112 Jack Hill severity 48112 normal tag 48112 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 30 00:39:41 2021 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec. 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 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) * 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) -- 2.31.1