Only having lazy is causing an error #1887
Replies: 2 comments 5 replies
-
You're using an ancient neovim version or your neovim's runtime is messed up |
Beta Was this translation helpful? Give feedback.
-
I have the same issue and I think I tracked it down. The quick workaround about this is turn it off: require("lazy").setup({
spec = {... },
performance = { rtp = { reset = false } }, The core issue that in my case parsers are located in I have default debian installation of neovim from default repos, v0.10.4 I tracked it down to: 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 = lib .. "/nvim"
if M.options.performance.rtp.reset then
---@type vim.Option
vim.opt.rtp = {
vim.fn.stdpath("config"),
vim.fn.stdpath("data") .. "/site",
M.me,
vim.env.VIMRUNTIME,
lib,
vim.fn.stdpath("config") .. "/after",
}
end If I understand correctly (I am noob in lua), code assumes that if |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I've tried reinstalling neovim, deleted
.local/share/nvim/lazy
and rebuilding lazy.lua according to the installation guide, and I get this each time I want to open a file.What is going on? Is the way neovim gets installed on linux mint wrong or? Thank you for help!
Beta Was this translation helpful? Give feedback.
All reactions