Skip to content

bug: Minimap stopped working today! #282

@mxmlkzdh

Description

@mxmlkzdh

Did you read the documentation and check existing issues?

Neovim version (nvim -v)

NVIM v0.12.0

Operating system/version

macOS 26.4

Describe the bug

The minimap doesn't show up and I get an error (see bellow in the logs)

Steps To Reproduce

  1. Open NeoVim.
  2. Open a source code file.
  3. No minimap visible :/

Expected Behavior

Minimap should show up like before!

Health

==============================================================================
neominimap:                                                                 ✅

- ✅ 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, blade, bp, bpftrace, brightscript, c, c3, c_sharp, caddy, cairo, capnp, chatito, circom, 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, ecma, editorconfig, eds, eex, elixir, elm, elsa, elvish, embedded_template, enforce, erlang, facility, faust, fennel, fidl, firrtl, fish, foam, forth, fortran, fsh, fsharp, func, 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, groq, gstlaunch, hack, hare, haskell, haskell_persistent, hcl, heex, helm, hjson, hlsl, hlsplaylist, hocon, hoon, html, html_tags, htmldjango, http, hurl, hyprlang, idl, idris, ini, inko, ispc, janet_simple, java, javadoc, javascript, jinja, jinja_inline, jq, jsdoc, json, json5, jsonnet, jsx, julia, just, kcl, kconfig, kdl, kitty, kos, 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, nqc, nu, objc, objdump, ocaml, ocaml_interface, ocamllex, odin, pascal, passwd, pem, perl, php, php_only, phpdoc, pioasm, pkl, 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, razor, rbs, re2c, readline, regex, rego, requirements, rescript, rifleconf, rnoweb, robot, robots_txt, roc, ron, rst, ruby, runescript, rust, scala, scfg, scheme, scss, sflog, slang, slim, slint, smali, smithy, snakemake, snl, solidity, soql, sosl, sourcepawn, sparql, sproto, sql, squirrel, ssh_config, starlark, strace, styled, supercollider, superhtml, surface, svelte, sway, swift, sxhkdrc, systemtap, systemverilog, t32, tablegen, tact, tcl, teal, templ, tera, terraform, textproto, thrift, tiger, tlaplus, tmux, todotxt, toml, tsv, tsx, turtle, twig, typescript, typespec, typoscript, typst, udev, ungrammar, unison, usd, uxntal, v, vala, vento, vhdl, vhs, vim, vimdoc, vrl, vue, wgsl, wgsl_bevy, wing, wit, wxml, xcompose, xml, xresources, yaml, yang, yuck, zathurarc, zig, ziggy, ziggy_schema, zsh
- Gitsigns integration is enabled
- ✅ OK Gitsigns is installed
- MiniDiff integration is disabled

Log

vim.schedule callback: .../share/nvim/lazy/neominimap.nvim/lua/neominimap/util.lua:88: Invalid 'border': expected 1, 2, 4, or 8 chars
stack traceback:
	[C]: in function 'error'
	.../share/nvim/lazy/neominimap.nvim/lua/neominimap/util.lua:88: in function <.../share/nvim/lazy/neominimap.nvim/lua/neominimap/util.lua:82>
	...neominimap.nvim/lua/neominimap/window/float/internal.lua:164: in function 'create_minimap_window'
	...neominimap.nvim/lua/neominimap/window/float/internal.lua:226: in function <...neominimap.nvim/lua/neominimap/window/float/internal.lua:203>
	vim/_core/shared.lua: in function 'tbl_map'
	.../share/nvim/lazy/neominimap.nvim/lua/neominimap/util.lua:56: in function 'for_all_windows_in_tab'
	...neominimap.nvim/lua/neominimap/window/float/internal.lua:254: in function 'refresh_minimaps_in_tab'
	...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:70: in function <...neominimap.nvim/lua/neominimap/window/float/autocmds.lua:68>

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",
        },
    }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions