feat(startup): added data/site to the rtp. Will be used by upcoming treesitter version

This commit is contained in:
Folke Lemaitre 2023-06-08 17:23:02 +02:00
parent ae25448d39
commit f131606190
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ function M.setup(opts)
if M.options.performance.rtp.reset then if M.options.performance.rtp.reset then
vim.opt.rtp = { vim.opt.rtp = {
vim.fn.stdpath("config"), vim.fn.stdpath("config"),
vim.fn.stdpath("data") .. "/site",
M.me, M.me,
vim.env.VIMRUNTIME, vim.env.VIMRUNTIME,
vim.fn.fnamemodify(vim.v.progpath, ":p:h:h") .. "/lib/nvim", vim.fn.fnamemodify(vim.v.progpath, ":p:h:h") .. "/lib/nvim",