nvimdotfiles/after/plugin/dap/dap-python.lua

9 lines
141 B
Lua

local python = "python"
if vim.env.VIRTUAL_ENV
then
python = vim.env.VIRTUAL_ENV .. "/bin/python"
end
require('dap-python').setup(python)