From 6ef14f0ccf624db79bf43d9352d02df48ec6c1a7 Mon Sep 17 00:00:00 2001 From: hamzashezad <9590983+hamzashezad@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:33:32 +0000 Subject: [PATCH] fix: correctly infer output extension for jupytext command --- lua/jupytext/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/jupytext/init.lua b/lua/jupytext/init.lua index 81391f2..e48203d 100644 --- a/lua/jupytext/init.lua +++ b/lua/jupytext/init.lua @@ -49,7 +49,7 @@ local style_and_extension = function(metadata) else output_extension = M.config.output_extension end - to_extension_and_style = M.config.output_extension .. ":" .. M.config.style + to_extension_and_style = output_extension .. ":" .. M.config.style end return custom_formatting, output_extension, to_extension_and_style