diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-06-05 21:06:36 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-06-05 21:06:36 -0700 |
commit | 44879ffd0268ba931532537b1ee44ed77cd90a5d (patch) | |
tree | 2f0ae1f64ca749ca75b3fd34228d78339297b07e /lua | |
parent | 355049bc318c3c968b2b434cea9a5bcdf6bf8ea7 (diff) |
fix: always add cwd to debug logs
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/runner.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) |