From 44879ffd0268ba931532537b1ee44ed77cd90a5d Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Wed, 5 Jun 2024 21:06:36 -0700 Subject: fix: always add cwd to debug logs --- lua/conform/runner.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua') diff --git a/lua/conform/runner.lua b/lua/conform/runner.lua index 942ffbc..3831198 100644 --- a/lua/conform/runner.lua +++ b/lua/conform/runner.lua @@ -330,6 +330,8 @@ local function run_formatter(bufnr, formatter, config, ctx, input_lines, opts, c log.debug("Run command: %s", cmd) if cwd then log.debug("Run CWD: %s", cwd) + else + log.debug("Run default CWD: %s", vim.fn.getcwd()) end if env then log.debug("Run ENV: %s", env) -- cgit v1.2.3-70-g09d2