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

  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    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.

    • notTheCatOP
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      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

    • notTheCatOP
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Just checked the AUR, it doesn’t have a build with a separate pandoc-lua