Skip to content

Commit

Permalink
misc/wrapRc: ignore user "after" directory when wrapRc is true
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 4, 2024
1 parent b4a969e commit 10d114f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wrappers/modules/output.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@ in {

extraConfigLuaPre = lib.optionalString config.wrapRc ''
-- Ignore the user lua configuration
vim.opt.runtimepath:remove(vim.fn.stdpath('config')) -- ~/.config/nvim
vim.opt.runtimepath:remove(vim.fn.stdpath('data') .. "/site") -- ~/.local/share/nvim/site
vim.opt.runtimepath:remove(vim.fn.stdpath('config')) -- ~/.config/nvim
vim.opt.runtimepath:remove(vim.fn.stdpath('config') .. "/after") -- ~/.config/nvim/after
vim.opt.runtimepath:remove(vim.fn.stdpath('data') .. "/site") -- ~/.local/share/nvim/site
'';

extraPlugins =
Expand Down

0 comments on commit 10d114f

Please sign in to comment.