You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated this plugin to the latest version using my plugin manager
I have provided the text contained in all screenshots as raw text in this issue. This means if there is a screenshot below it is the copy pasted contents of the file in the screenshot. I understand that my issue will be closed if I have not.
Additional information
The weird part is that, this bug doesn't happen all the time.
The text was updated successfully, but these errors were encountered:
## Details
Issue: #403
The `get` call into `mini.icons` can sometimes be `nil`, while I'm
unable to replicate it we can definitely make this module more robust
by adding more checks than a `pcall` around `require`.
To fix this the logic has been entirely re-written. In addition to
`pcall` we now also:
- validate the required module is not `nil`
- validate that the method we use for the provider is not `nil`
- validate `_G.MiniIcons ~= nil` as specified in the docs
Minor other changes:
- pull `default` configuration directly in state module where needed
- add an `alias` for `dash` width type
- consistently call cache tables `Cache` and use `class` annotation
- `render.md.BufferConfig` -> `render.md.main.Config`
- directly invalidate state cache in `init` module
I'm not able to reproduce this, but I imagine it's due to having a dependency on nvim-web-devicons while also having mini.icons installed. The plugin prefers to use mini.icons and I guess the pcall around it succeeds but the method we call is not available, no idea how TBH.
Regardless of what's happening I made the integration more robust in this commit: dfffdd2
Can you update and LMK if that resolves the problem? Thanks!
Neovim version (nvim -v)
NVIM v0.11.0
Neovim distribution
N/A
Operating system
Fedora 42 Workstation
Terminal emulator / GUI
Gnome Terminal
Describe the bug
I think it would be better to show you the errors I'm getting.
Screencast.From.2025-04-20.13-42-59.mp4
Expected behavior
I don't know, maybe render
.md
files without errors.Healthcheck output
Plugin configuration
Plugin error log
Confirmations
Additional information
The weird part is that, this bug doesn't happen all the time.
The text was updated successfully, but these errors were encountered: