I want to use Lua filters in Pandoc but the LSP keeps complaining about not finding pandoc module in globals, I don’t have a pandoc-lua executable on my system, only pandoc-cli, and there’s no such thing in my package manager either, I’ve tried pointing workspace.library to pandoc-cli but it didn’t work, I’m a Lua noob too, and I’m on Arch, I’m fine if I have to compile Pandoc myself if that solves the problem
No idea about the LSP issues but I’ve compiled pandoc. That’s an adventure in it’s own right because of the dependencies it brings in. I guess do it if you have to, but maybe in a scratch vm that you can simply delete when you’re done.
If it’s too much of struggle to compile it I’d rather be sure first that it will do help me with setting up the LSP
It seems that no lua is packaged with pandoc-cli (By looking at the package contents of https://archlinux.org/packages/extra/x86_64/pandoc-cli/)
So if I were you I would first try the AUR and see if there’s any package there that does.
Just checked the AUR, it doesn’t have a build with a separate pandoc-lua