modules/output: don't remove "site" dir when impureRtp is disabled

This is required for storing the state of several things, such as spell
files.
This commit is contained in:
Matt Sturgeon 2024-09-25 17:45:39 +01:00
parent 11924e1593
commit 7bda0f1ce4
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -312,7 +312,6 @@ in
-- 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('config') .. "/after") -- ~/.config/nvim/after 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
'' ''
# Add a global table at start of init # Add a global table at start of init
++ lib.singleton '' ++ lib.singleton ''