2021-12-25 04:57:48 -06:00
|
|
|
local present, dap = pcall(require, "dap")
|
|
|
|
if not present then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2021-12-16 02:15:56 -06:00
|
|
|
-- dap-ui configurations
|
2021-12-25 04:57:48 -06:00
|
|
|
require("dapui").setup({})
|
2021-12-16 02:15:56 -06:00
|
|
|
|
|
|
|
dap.defaults.fallback.terminal_win_cmd = 'ToggleTerm'
|
2021-12-25 04:57:48 -06:00
|
|
|
vim.fn.sign_define('DapBreakpoint', {text='● ', texthl='DiagnosticSignError', linehl='', numhl=''})
|
|
|
|
vim.fn.sign_define('DapBreakpointCondition', {text='● ', texthl='DiagnosticSignWarn', linehl='', numhl=''})
|
|
|
|
vim.fn.sign_define('DapLogPoint', {text='● ', texthl='DiagnosticSignInfo', linehl='', numhl=''})
|
|
|
|
vim.fn.sign_define('DapStopped', {text='→ ', texthl='DiagnosticSignWarn', linehl='', numhl=''})
|
|
|
|
vim.fn.sign_define('DapBreakpointReject', {text='●' , texthl='DiagnosticSignHint', linehl='', numhl=''})
|