From 5b4001d7e87ae3186d467e89b62a3b1599943888 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Wed, 15 Feb 2023 11:06:15 +0100 Subject: [PATCH] format dap.lua --- lua/plugins/dap.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index 6a3e793..9180b6f 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -128,13 +128,13 @@ return { dap.configurations.python = { { - type = 'python'; - request = 'launch'; - name = 'Launch file with venv'; - justMyCode = false; - program = '${file}'; - cwd = vim.fn.getcwd(); - pythonPath = getPythonEnv + type = 'python', + request = 'launch', + name = 'Launch file with venv', + justMyCode = false, + program = '${file}', + cwd = vim.fn.getcwd(), + pythonPath = pythonVenv.getPythonEnv }, } @@ -216,6 +216,5 @@ return { require('nvim-dap-virtual-text').setup({}) require('telescope').load_extension('dap') - end, }