* [bug#48112] [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec.
@ 2021-04-30 4:39 Jack Hill
0 siblings, 0 replies; only message in thread
From: Jack Hill @ 2021-04-30 4:39 UTC (permalink / raw)
To: 48112
* 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-30 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 4:39 [bug#48112] [PATCH] gnu: neovim: Add 'XDG_DATA_DIRS' search path spec Jack Hill
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.