format dap.lua
This commit is contained in:
parent
02aa672af8
commit
5b4001d7e8
@ -128,13 +128,13 @@ return {
|
|||||||
|
|
||||||
dap.configurations.python = {
|
dap.configurations.python = {
|
||||||
{
|
{
|
||||||
type = 'python';
|
type = 'python',
|
||||||
request = 'launch';
|
request = 'launch',
|
||||||
name = 'Launch file with venv';
|
name = 'Launch file with venv',
|
||||||
justMyCode = false;
|
justMyCode = false,
|
||||||
program = '${file}';
|
program = '${file}',
|
||||||
cwd = vim.fn.getcwd();
|
cwd = vim.fn.getcwd(),
|
||||||
pythonPath = getPythonEnv
|
pythonPath = pythonVenv.getPythonEnv
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -216,6 +216,5 @@ return {
|
|||||||
|
|
||||||
require('nvim-dap-virtual-text').setup({})
|
require('nvim-dap-virtual-text').setup({})
|
||||||
require('telescope').load_extension('dap')
|
require('telescope').load_extension('dap')
|
||||||
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user