Skip to content

Commit

Permalink
Merge pull request #5 from MarcoBuess/main
Browse files Browse the repository at this point in the history
fix(windows): html output
  • Loading branch information
Zeioth authored Feb 14, 2024
2 parents fdeb155 + 4858a5a commit ded391d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/markmap/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ M.setup = function(ctx)
-- Set default options
if html_output == nil then
if is_windows then -- windows
html_output = uv.os_getenv "TEMP" .. "markmap.html"
html_output = uv.os_getenv "TEMP" .. "\\" .. "markmap.html"
elseif is_android then -- android
html_output = "/data/data/com.termux/files/usr/tmp/markmap.html"
else -- unix
Expand Down

0 comments on commit ded391d

Please sign in to comment.