mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
misc/wrapRc: ignore user "after" directory when wrapRc is true
This commit is contained in:
parent
b4a969e90a
commit
10d114f5a6
1 changed files with 3 additions and 2 deletions
|
@ -156,6 +156,7 @@ 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('config') .. "/after") -- ~/.config/nvim/after
|
||||
vim.opt.runtimepath:remove(vim.fn.stdpath('data') .. "/site") -- ~/.local/share/nvim/site
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue