Skip to content

Conversation

@axgkl
Copy link

@axgkl axgkl commented Mar 21, 2025

just thought i forward to you. also i needed init.lua instead main.lua, but i guess the depends on lua setup (i'm a noob in lua)

libreoffice --version
LibreOffice 7.5.9.2 50(Build:2)

Gunther Klessinger added 2 commits March 21, 2025 12:33
@macydnah
Copy link
Owner

macydnah commented Apr 27, 2025

Thank you for your contribution!

No worries, I'm a lua noob as well. The yazi's plugin system deprecated naming entry points as init.lua (sxyazi/yazi#2168) are you running the latest release? It should work as main.lua

I did the escaped double quotes and maybe relatively long oneliners trying to stick with the style of https://github.com/sxyazi/yazi/blob/main/yazi-plugin/preset/plugins/pdf.lua

but I'm a lua noob as well, do you feel it's easier to understand the libre command written as in this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants