1
0
chezmoi/home/dot_config/lvim/lua/user/dap.lua

25 lines
536 B
Lua
Raw Normal View History

2024-01-07 00:37:50 +00:00
--[[--
File : conf.d/lvim/lua/user/dap.lua
Author : Jeff Lance <email@jefflance.me>
Date : 28.12.2023 21:34:48
2024-02-05 22:13:08 +00:00
Last Modified Date: 01.02.2024 12:47:04
2024-01-07 00:37:50 +00:00
Last Modified By : Jeff Lance <email@jefflance.me>
--]]--
-- Setup debug adapter
--
local M = {}
M.setup = function()
lvim.builtin.dap.active = true
local mason_path = vim.fn.glob(vim.fn.stdpath "data" .. "/mason/")
pcall(function()
require("dap-python").setup(mason_path .. "packages/debugpy/venv/bin/python")
end)
end
return M