GNU bug report logs - #48112
[PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec.

Previous Next

Package: guix-patches;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Fri, 30 Apr 2021 04:40:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 48112 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48112; Package guix-patches. (Fri, 30 Apr 2021 04:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 30 Apr 2021 04:40:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec.
Date: Fri, 30 Apr 2021 00:39:19 -0400
* 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





This bug report was last modified 2 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.