misc/wrapRc: switch to XDG compliant path resolution

This commit is contained in:
Gaetan Lepage 2024-01-02 11:37:35 +01:00 committed by Gaétan Lepage
parent c359761871
commit a2fa6753f9

View file

@ -155,8 +155,8 @@ in {
extraConfigLuaPre = lib.optionalString config.wrapRc ''
-- Ignore the user lua configuration
vim.opt.runtimepath:remove(vim.fn.expand('~/.config/nvim'))
vim.opt.packpath:remove(vim.fn.expand('~/.local/share/nvim/site'))
vim.opt.runtimepath:remove(vim.fn.stdpath('config')) -- ~/.config/nvim
vim.opt.runtimepath:remove(vim.fn.stdpath('data') .. "/site") -- ~/.local/share/nvim/site
'';
extraPlugins =