termux-packages/packages/neovim-nightly/src-nvim-os-stdpaths.c.patch
Aditya Alok 3bc578adb3 feat: add package neovim nightly
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>

neovim-nightly: update to 0.7.0-dev+1333-g71b4c30ad

This commit has been automatically submitted by Github Actions.
2022-03-28 23:11:11 +05:30

15 lines
565 B
Diff

diff -u -r ../neovim-master/src/nvim/os/stdpaths.c ./src/nvim/os/stdpaths.c
--- ../neovim-master/src/nvim/os/stdpaths.c 2015-11-01 16:16:38.000000000 -0500
+++ ./src/nvim/os/stdpaths.c 2015-11-02 14:12:12.770172673 -0500
@@ -34,8 +34,8 @@
[kXDGDataHome] = "~/.local/share",
[kXDGCacheHome] = "~/.cache",
[kXDGRuntimeDir] = NULL,
- [kXDGConfigDirs] = "/etc/xdg/",
- [kXDGDataDirs] = "/usr/local/share/:/usr/share/",
+ [kXDGConfigDirs] = "@TERMUX_PREFIX@/etc/xdg/",
+ [kXDGDataDirs] = "@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/",
#endif
};