From f138b4d5000dc04a93507739f71480066568f357 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 2 Jan 2024 11:37:35 +0100 Subject: [PATCH] misc/wrapRc: switch to XDG compliant path resolution --- wrappers/modules/output.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/modules/output.nix b/wrappers/modules/output.nix index cb5a151a95..aa2f7c0387 100644 --- a/wrappers/modules/output.nix +++ b/wrappers/modules/output.nix @@ -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 =