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
## 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
0 commit comments