format dap.lua

This commit is contained in:
Oliver Hartmann 2023-02-15 11:06:15 +01:00
parent 02aa672af8
commit 5b4001d7e8

View File

@ -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,
} }