neominimap cannot show minimap for the 1st buffer
Closed this issue · 3 comments
delphinus commented
I open a file at the first time, then neominimap does not show minimap for the file. When I open another file again, neominimap shows the one.
I've recorded with this minimal config below.
reproducible init.lua
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{ "nvim-treesitter/nvim-treesitter", build = ':TSInstall lua' },
{
"Isrothy/neominimap.nvim",
init = function()
vim.opt.wrap = false -- Recommended
vim.opt.sidescrolloff = 36 -- It's recommended to set a large value
vim.g.neominimap = {
auto_enable = true,
}
end,
},
})
Isrothy commented
You may checkout branch fix-issue-24
delphinus commented
Great! I confirmed this is solved.