@Syntonica I've just created an arm64 binary of Geany with the Lua plugin enabled:
https://download.geany.org/snapshots/geany-1.38_osx_arm64.dmg
Would you give it a try? If you have a x86_64 mac, please let me know and I'll create a binary for it too.