pojokcodeid.nvim-lazy/lua/plugins/dap.lua

37 lines
819 B
Lua
Raw Normal View History

2024-06-16 21:37:17 +07:00
local M = {}
if vim.fn.has("win32") == 0 then
M = {
{
"rcarriga/nvim-dap-ui",
lazy = true,
event = "BufRead",
dependencies = {
{ "mfussenegger/nvim-dap", lazy = true },
{ "nvim-neotest/nvim-nio", lazy = true },
2024-06-16 21:41:17 +07:00
{
"theHamsta/nvim-dap-virtual-text",
opts = {
virt_text_win_col = 80,
},
},
2024-06-16 21:37:17 +07:00
},
enabled = vim.fn.has("win32") == 0,
config = function()
require("user.dapui")
end,
},
{
"jay-babu/mason-nvim-dap.nvim",
lazy = true,
event = "BufRead",
dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" },
enabled = vim.fn.has("win32") == 0,
config = function()
require("user.mason_dap")
end,
},
}
end
return M