also set cwd for launch.json configs
This commit is contained in:
parent
c8bbbe4057
commit
66477e10a0
@ -29,6 +29,7 @@ local function loadConfigs ()
|
||||
-- Make sure we use the correct python env even for the configs from launch.json
|
||||
for nr,config in pairs(dap.configurations.python) do
|
||||
config.pythonPath = getPythonEnv()
|
||||
config.cwd = vim.fn.getcwd()
|
||||
end
|
||||
require'telescope'.extensions.dap.configurations{}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user