diff options
| -rw-r--r-- | luax/libs/markdown.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luax/libs/markdown.lua b/luax/libs/markdown.lua index ab42529..3fe90c1 100644 --- a/luax/libs/markdown.lua +++ b/luax/libs/markdown.lua @@ -1007,7 +1007,7 @@ local function highlight(lang, code) tmp_file:write(code) tmp_file:close() -- run tree-sitter highlight on the code with lang - local tree_sitter_output = io.popen("tree-sitter highlight -H " .. tmp_filename) + local tree_sitter_output = io.popen("/usr/bin/env tree-sitter highlight -H " .. tmp_filename) if not tree_sitter_output then error("Could not run tree-sitter highlight") end |
