From: Jack Hill <jackhill@jackhill.us>
To: 48112@debbugs.gnu.org
Subject: [bug#48112] [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec.
Date: Fri, 30 Apr 2021 00:39:19 -0400 [thread overview]
Message-ID: <20210430043919.17536-1-jackhill@jackhill.us> (raw)
* 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
reply other threads:[~2021-04-30 4:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210430043919.17536-1-jackhill@jackhill.us \
--to=jackhill@jackhill.us \
--cc=48112@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).