mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-11-06 09:21:08 +00:00
Merge 900eeef951 into e6a8824858
This commit is contained in:
commit
e07357bc39
1 changed files with 1 additions and 2 deletions
|
|
@ -299,8 +299,7 @@ function M.setup(opts)
|
||||||
M.me = debug.getinfo(1, "S").source:sub(2)
|
M.me = debug.getinfo(1, "S").source:sub(2)
|
||||||
M.me = Util.norm(vim.fn.fnamemodify(M.me, ":p:h:h:h:h"))
|
M.me = Util.norm(vim.fn.fnamemodify(M.me, ":p:h:h:h:h"))
|
||||||
local lib = vim.fn.fnamemodify(vim.v.progpath, ":p:h:h") .. "/lib"
|
local lib = vim.fn.fnamemodify(vim.v.progpath, ":p:h:h") .. "/lib"
|
||||||
lib = vim.uv.fs_stat(lib .. "64") and (lib .. "64") or lib
|
lib = vim.uv.fs_stat(lib .. "64/nvim") and (lib .. "64/nvim") or lib .. "/nvim"
|
||||||
lib = lib .. "/nvim"
|
|
||||||
if M.options.performance.rtp.reset then
|
if M.options.performance.rtp.reset then
|
||||||
---@type vim.Option
|
---@type vim.Option
|
||||||
vim.opt.rtp = {
|
vim.opt.rtp = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue