From ce18e5099c7c94b5fc6da51cda8f680dd7574170 Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Tue, 13 Sep 2022 19:11:13 +0300 Subject: Set cwd for debug tasks --- lua/tasks/runner.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/tasks/runner.lua b/lua/tasks/runner.lua index 4d3663b..6a4bf5c 100644 --- a/lua/tasks/runner.lua +++ b/lua/tasks/runner.lua @@ -123,6 +123,7 @@ function runner.chain_commands(task_name, commands, module_config, addition_args request = 'launch', program = command.cmd, args = args, + cwd = cwd, })) if config.dap_open_command then vim.api.nvim_command('cclose') -- cgit v1.2.3