Isrothy / neominimap.nvim

Yet another minimap plugin for Neovim
MIT License
171 stars 3 forks source link

bug: Error when using Neominimap toggle command #178

Closed DanWlker closed 22 hours ago

DanWlker commented 1 day ago

Did you read the documentation and check existing issues?

Neovim version (nvim -v)

0.10.2

Operating system/version

MacOs Sonoma 14.7.1 (23H222)

Describe the bug

Hi, I hit this error when attempting to toggle neominimap globally image image

I believe its due to this change (I'm not sure, haven't really tried to fix it locally) image

in this commit: https://github.com/Isrothy/neominimap.nvim/commit/4d3e56a1691478a2418bcc8d0cb9c64c99433861#diff-91f6ed57d0a64cec8811fc854356d2bb5d800ddad1c4f176f084734f453000c4L12

Do let me know if any further information is required. I can prepare a PR as well just let me know. Thank you.

Steps To Reproduce

run :Neominimap toggle

Expected Behavior

no errors and minimap is able to be toggled globally

Health

neominimap: require("neominimap.health").check()

- OK Neovim version is 0.10 or higher
- OK neominimap: valid config
- TreeSitter integration is enabled
- OK TreeSitter is installed
- OK TreeSitter parsers are installed: ada, agda, angular, apex, arduino, asm, astro, authzed, awk, bash, bass, beancount, bibtex, bicep, bitbake, blueprint, bp, c, c_sharp, cairo, capnp, chatito, clojure, cmake, comment, commonlisp, cooklang, corn, cpon, cpp, css, csv, cuda, cue, cylc, d, dart, desktop, devicetree, dhall, diff, disassembly, djot, dockerfile, dot, doxygen, dtd, earthfile, ebnf, editorconfig, eds, eex, elixir, elm, elsa, elvish, embedded_template, erlang, facility, faust, fennel, fidl, firrtl, fish, foam, forth, fortran, fsh, fsharp, func, fusion, gap, gaptst, gdscript, gdshader, git_config, git_rebase, gitattributes, gitcommit, gitignore, gleam, glimmer, glimmer_javascript, glimmer_typescript, glsl, gn, gnuplot, go, goctl, godot_resource, gomod, gosum, gotmpl, gowork, gpg, graphql, gren, groovy, gstlaunch, hack, hare, haskell, haskell_persistent, hcl, heex, helm, hjson, hlsl, hlsplaylist, hocon, hoon, html, htmldjango, http, hurl, hyprlang, idl, ini, inko, ispc, janet_simple, java, javascript, jq, jsdoc, json, json5, jsonc, jsonnet, julia, just, kconfig, kdl, kotlin, koto, kusto, lalrpop, latex, ledger, leo, linkerscript, liquid, liquidsoap, llvm, lua, luadoc, luap, luau, m68k, make, markdown, markdown_inline, matlab, menhir, mermaid, meson, mlir, muttrc, nasm, nginx, nickel, nim, nim_format_string, ninja, nix, norg, nqc, nu, objc, objdump, ocaml, ocaml_interface, ocamllex, odin, org, pascal, passwd, pem, perl, php, php_only, phpdoc, pioasm, po, pod, poe_filter, pony, powershell, printf, prisma, problog, prolog, promql, properties, proto, prql, psv, pug, puppet, purescript, pymanifest, python, ql, qmldir, qmljs, query, r, racket, ralph, rasi, rbs, re2c, readline, regex, rego, requirements, rescript, rnoweb, robot, robots, roc, ron, rst, ruby, runescript, rust, scala, scfg, scheme, scss, sflog, slang, slint, smali, smithy, snakemake, solidity, soql, sosl, sourcepawn, sparql, sql, squirrel, ssh_config, starlark, strace, styled, supercollider, superhtml, surface, svelte, sway, swift, sxhkdrc, systemtap, t32, tablegen, tact, tcl, teal, templ, terraform, textproto, thrift, tiger, tlaplus, tmux, todotxt, toml, tsv, tsx, turtle, twig, typescript, typespec, typoscript, typst, udev, ungrammar, unison, usd, uxntal, v, vala, vento, verilog, vhdl, vhs, vim, vimdoc, vrl, vue, wgsl, wgsl_bevy, wing, wit, xcompose, xml, xresources, yaml, yang, yuck, zathurarc, zig, ziggy, ziggy_schema
- Git integration is disabled

Log

[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 2.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 3.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 4.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 5.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 7.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1006
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:29] TextChanged event triggered for buffer 6.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1006
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:29] TextChanged event triggered for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 2.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 2
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 2 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 2.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 3.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 3
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 3 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 3.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 4.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 4
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 4 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 4.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 5.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 5
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 5 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 5.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 6
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 6 should not generate minimap due to its type prompt
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 7.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 7
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 7 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 7.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1006.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1006
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:289] Minimap window is not valid for 1006
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1006.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:32] Debounced updating text for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:35] Debounced text updating for buffer 6 is called
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1006.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1006
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:289] Minimap window is not valid for 1006
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1006.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:32] Debounced updating text for buffer 6.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:35] Debounced text updating for buffer 6 is called
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 9.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 9.
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 9
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 9 should not generate minimap due to its type nofile
[2024-11-07 22:36:51] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 9.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:80] WinScrolled event triggered.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:87] Windows to be scrolled: { 1002 }
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:90] Refreshing minimap for window 1002.
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1002
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:79] No minimap buffer available for buffer 2 in window 1002
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1002 is not valid or should not be shown
[2024-11-07 22:36:51] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:92] Minimap refreshed for window 1002.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1006
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:29] TextChanged event triggered for buffer 6.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1006.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:289] Minimap window is not valid for 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1006.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:32] Debounced updating text for buffer 6.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:35] Debounced text updating for buffer 6 is called
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 10.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 10.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 10
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 10 should not generate minimap due to its type nofile
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 10.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1006
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:29] TextChanged event triggered for buffer 6.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1006.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:289] Minimap window is not valid for 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1006.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:32] Debounced updating text for buffer 6.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:35] Debounced text updating for buffer 6 is called
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 11.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 11.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 11
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 11 should not generate minimap due to its type nofile
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 11.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1006
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:29] TextChanged event triggered for buffer 6.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1006.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:289] Minimap window is not valid for 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1006.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:32] Debounced updating text for buffer 6.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:35] Debounced text updating for buffer 6 is called
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 9.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 10.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:43] WinClosed event triggered for window 1004.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 11.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:43] WinClosed event triggered for window 1002.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 3.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 2.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:43] WinClosed event triggered for window 1007.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 7.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:43] WinClosed event triggered for window 1005.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 5.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:43] WinClosed event triggered for window 1006.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 6.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:17] BufUnload event triggered for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 1.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:22] BufWinEnter event triggered for window 1000.
[2024-11-07 22:36:52] [TRACE] [...map.nvim/lua/neominimap/map/handlers/builtins/search.lua:95] BufWinEnter event triggered.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:99] CursorMoved event triggered.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:101] Window ID: 1000
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 9.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 9 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 9.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 10.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 10 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 10.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:46] Refreshing minimap for window 1004.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1004
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1004 is not valid or should not be shown
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:49] Minimap window refreshed for window 1004.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 11.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 11 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 11.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:46] Refreshing minimap for window 1002.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1002
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1002 is not valid or should not be shown
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:49] Minimap window refreshed for window 1002.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 3.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 3 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 3.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 2.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 2 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 2.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:46] Refreshing minimap for window 1007.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1007
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1007 is not valid or should not be shown
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:49] Minimap window refreshed for window 1007.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 7.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 7 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 7.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:46] Refreshing minimap for window 1005.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1005
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1005 is not valid or should not be shown
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:49] Minimap window refreshed for window 1005.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 5.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 5 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 5.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:46] Refreshing minimap for window 1006.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1006
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:209] Window 1006 is not valid or should not be shown
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:49] Minimap window refreshed for window 1006.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 6.
[2024-11-07 22:36:52] [WARN ] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:262] Buffer 6 is not valid. Skipping deletion of minimap.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 6.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:20] Wiping out minimap for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:268] No minimap buffer found for buffer 1. Skipping deletion.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:23] Minimap buffer wiped out for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:75] Buffer 1 should generate minimap
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:142] Starting to generate minimap for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:147] Created a new buffer 12 for minimap of buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:194] Minimap for buffer 1 generated successfully
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:122] User Neominimap event triggered. patter: MinimapBufferCreated or MinimapBufferDeleted
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:252] Minimap for buffer 1 refreshed successfully
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 1.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:75] Buffer 1 should generate minimap
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:252] Minimap for buffer 1 refreshed successfully
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 1.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:24] Refreshing minimap window for window ID: 1000.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:117] Minimap can be shown for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:151] Attempting to create minimap for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:162] Creating minimap window for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:124] Getting window configuration for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:169] Setting up window options 1008
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:171] Minimap window options set.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:173] Minimap window 1008 created for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:124] Getting window configuration for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:121] Syncing minimap with source
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:149] Minimap synced with source
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:293] Cursor line reset for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:243] Minimap for window 1000 refreshed
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:26] Minimap window refreshed for window 1000.
[2024-11-07 22:36:52] [TRACE] [...map.nvim/lua/neominimap/map/handlers/builtins/search.lua:98] Updating search status for buffer 1.
[2024-11-07 22:36:52] [TRACE] [...map.nvim/lua/neominimap/map/handlers/builtins/search.lua:100] Search status updated for buffer 1.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:106] Resettting cursor line for window 1000.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:121] Syncing minimap with source
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:149] Minimap synced with source
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:293] Cursor line reset for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:108] Cursor line reset for window 1000.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:130] Refreshing minimap for window 1000.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:207] Refreshing minimap for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:117] Minimap can be shown for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:124] Getting window configuration for window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:121] Syncing minimap with source
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:149] Minimap synced with source
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:293] Cursor line reset for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:243] Minimap for window 1000 refreshed
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:132] Minimap refreshed for window 1000.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:82] Generating minimap for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:90] Getting lines for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:94] Applying fold for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:98] Fold for buffer 1 applied successfully
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:103] Generating minimap text for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:109] Setting lines for buffer 12
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:112] Minimap for buffer 1 generated successfully
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:42] User Neominimap event triggered. patter: BufferTextUpdated
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:43] Buffer ID: 1
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:140] User Neominimap event triggered. patter: BufferTextUpdated
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:141] Buffer ID: 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:125] Generating treesitter diagnostics for buffer 1
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:129] Treesitter diagnostics for buffer 1 generated successfully
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:145] Resetting cursor line for window 1000.
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:286] Resetting cursor line for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:121] Syncing minimap with source
[2024-11-07 22:36:52] [TRACE] [...nvim/lazy/neominimap.nvim/lua/neominimap/window/util.lua:149] Minimap synced with source
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/internal.lua:293] Cursor line reset for minimap of window 1000
[2024-11-07 22:36:52] [TRACE] [...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:147] Cursor line reset for window 1000.
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:174] Applying Built-in Search for buffer 1
[2024-11-07 22:36:52] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:154] Applying annotation for minimap buffer 12 with namespace 7, mode: line
[2024-11-07 22:36:52] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:159] Annotation for minimap buffer 12 with namespace 7 applied successfully
[2024-11-07 22:36:52] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:184] Diagnostics for buffer 1 generated successfully
[2024-11-07 22:36:53] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:174] Applying Built-in Diagnostic for buffer 1
[2024-11-07 22:36:53] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:154] Applying annotation for minimap buffer 12 with namespace 6, mode: line
[2024-11-07 22:36:53] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:159] Annotation for minimap buffer 12 with namespace 6 applied successfully
[2024-11-07 22:36:53] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:184] Diagnostics for buffer 1 generated successfully
[2024-11-07 22:36:53] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:174] Applying Built-in Search for buffer 1
[2024-11-07 22:36:53] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:154] Applying annotation for minimap buffer 12 with namespace 7, mode: line
[2024-11-07 22:36:53] [TRACE] [...minimap.nvim/lua/neominimap/map/handlers/application.lua:159] Annotation for minimap buffer 12 with namespace 7 applied successfully
[2024-11-07 22:36:53] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:184] Diagnostics for buffer 1 generated successfully
[2024-11-07 22:36:54] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:5] BufNew or BufRead event triggered for buffer 13.
[2024-11-07 22:36:54] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:9] Refreshing minimap for buffer 13.
[2024-11-07 22:36:54] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:234] Attempting to refresh minimap for buffer 13
[2024-11-07 22:36:54] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/internal.lua:54] Buffer 13 should not generate minimap due to its type nofile
[2024-11-07 22:36:54] [TRACE] [.../lazy/neominimap.nvim/lua/neominimap/buffer/autocmds.lua:11] Minimap buffer refreshed for buffer 13.
[2024-11-07 22:36:57] [INFO ] [...m/lazy/neominimap.nvim/lua/neominimap/command/global.lua:71] Command toggle triggered.
[2024-11-07 22:36:57] [INFO ] [...m/lazy/neominimap.nvim/lua/neominimap/command/global.lua:32] Minimap is being closed. Cleaning up buffers and windows.

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
    {
        -- Add anything you need here (configuration, other plugins, etc)
        "Isrothy/neominimap.nvim",
    },
})
Isrothy commented 22 hours ago

Fixed in v3.6.7

DanWlker commented 14 hours ago

Nice, thanks for the quick fix