Something went wrong. Try again.
forked from nix-community/nixvim
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334{ lib, runCommand, pandoc, githubUrl ? "https://github.com/nix-community/nixvim/blob/main/", docsUrl ? "https://nix-community.github.io/nixvim/",}:src:runCommand (src.name or (baseNameOf src)) { inherit src; bindings = lib.generators.toLua { asBindings = true; } { inherit githubUrl docsUrl; }; filter = ./filter.lua; nativeBuildInputs = [ pandoc ]; } '' echo "$bindings" > filter.lua cat $filter >> filter.lua
pandoc \ --output $out \ --from gfm \ --to gfm \ --lua-filter filter.lua \ $src ''