mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 18:58:43 +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
|
@ -155,8 +155,9 @@ in {
|
||||||
|
|
||||||
extraConfigLuaPre = lib.optionalString config.wrapRc ''
|
extraConfigLuaPre = lib.optionalString config.wrapRc ''
|
||||||
-- Ignore the user lua configuration
|
-- Ignore the user lua configuration
|
||||||
vim.opt.runtimepath:remove(vim.fn.stdpath('config')) -- ~/.config/nvim
|
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') .. "/after") -- ~/.config/nvim/after
|
||||||
|
vim.opt.runtimepath:remove(vim.fn.stdpath('data') .. "/site") -- ~/.local/share/nvim/site
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extraPlugins =
|
extraPlugins =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue