diff options
author | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-09-13 19:11:13 +0300 |
---|---|---|
committer | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-09-13 19:11:13 +0300 |
commit | ce18e5099c7c94b5fc6da51cda8f680dd7574170 (patch) | |
tree | 55cd216625cb74b21b71b834f35fead8ec2c7a9d | |
parent | cc08ac7675d25131a2784520cd146ea695902ea2 (diff) | |
download | neovim-tasks-ce18e5099c7c94b5fc6da51cda8f680dd7574170.tar.gz neovim-tasks-ce18e5099c7c94b5fc6da51cda8f680dd7574170.zip |
Set cwd for debug tasks
-rw-r--r-- | lua/tasks/runner.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
123 | request = 'launch', | 123 | request = 'launch', |
124 | program = command.cmd, | 124 | program = command.cmd, |
125 | args = args, | 125 | args = args, |
126 | cwd = cwd, | ||
126 | })) | 127 | })) |
127 | if config.dap_open_command then | 128 | if config.dap_open_command then |
128 | vim.api.nvim_command('cclose') | 129 | vim.api.nvim_command('cclose') |