From 4858a5a9866582c87031d2ab9a30686e8355db53 Mon Sep 17 00:00:00 2001 From: marcobuess <42165023+MarcoBuess@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:08:35 +0100 Subject: [PATCH] fix(windows): html output Fixed a bug where html output would be created as ~\appdata\roaming\Tempmarkmap.html instead of ~\appdata\roaming\temp\markmap.html --- lua/markmap/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/markmap/init.lua b/lua/markmap/init.lua index 6db47d4..cf9cac9 100644 --- a/lua/markmap/init.lua +++ b/lua/markmap/init.lua @@ -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