When I use Joshuto to preview and edit some Lua files, I encounter some problems.
Preview problem:
There are no problems with most of the .lua files. However, this issue only occurs with some special .lua files. I don't know why. The special .lua file causing the issue is shown below:
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
When I use Joshuto to preview and edit some Lua files, I encounter some problems.
-- Configure lazy.nvim require("lazy").setup({ spec = { { import = "plugins" }, }, concurrency = 24, defaults = { lazy = true, version = nil }, install = { missing = true, colorscheme = { "tokyonight" } }, ui = { border = "rounded" }, })
vim.keymap.set("n", "L", ":Lazy", { desc = "Plugin Manager" })