Reledia / glow.yazi

Glow preview plugin for yazi
MIT License
65 stars 4 forks source link

No preview, RuntimeError in log #12

Open Dronakurl opened 1 month ago

Dronakurl commented 1 month ago

I don't see a preview.

  2024-10-28T22:02:49.666340Z ERROR yazi_plugin::isolate::peek: RuntimeError("[string \"glow\"]:45: attempt to index a nil value (field 'Text')\nstack traceback:\n\t[string \"glow\"]:45: in function <[string \"glow\"]:3>")
    at /home/konrad/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yazi-plugin-0.3.3/src/isolate/peek.rs:50
diego-velez commented 1 month ago

It's not working for me either. I'm seeing the same error in the logs.

Reledia commented 1 month ago

It was my bad. I merged a patch that upgraded ui.Paragraph to ui.Text. This is something that happened on the upstream too, but it's not in the release version yet. It will be useful only when an eventual 0.3.4 or 0.4.0 will come out. For now, I'm reverting it.