From 949f09cc0943c0d3847ad5e604b657fb41ea9f00 Mon Sep 17 00:00:00 2001 From: ADM-9 <39641534+ADM-9@users.noreply.github.com> Date: Mon, 24 Apr 2023 22:30:03 -0400 Subject: [PATCH] Add integration for dap and dapui (#181) * Add integration for dap and dapui * Update dap.lua --- lua/base46/extended_integrations/dap.lua | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lua/base46/extended_integrations/dap.lua diff --git a/lua/base46/extended_integrations/dap.lua b/lua/base46/extended_integrations/dap.lua new file mode 100644 index 0000000..24d196d --- /dev/null +++ b/lua/base46/extended_integrations/dap.lua @@ -0,0 +1,40 @@ +local colors = require("base46").get_theme_tb "base30" + +return { + -- Dap + DapBreakpoint = { fg = colors.red }, + DapBreakpointCondition = { fg = colors.yellow }, + DapLogPoint = { fg = colors.cyan }, + DapStopped = { fg = colors.baby_pink }, + + -- DapUI + DAPUIScope = { fg = colors.cyan }, + DAPUIType = { fg = colors.dark_purple }, + DAPUIValue = { fg = colors.cyan }, + DAPUIVariable = { fg = colors.white }, + DapUIModifiedValue = { fg = colors.orange }, + DapUIDecoration = { fg = colors.cyan }, + DapUIThread = { fg = colors.green }, + DapUIStoppedThread = { fg = colors.cyan }, + DapUISource = { fg = colors.lavender }, + DapUILineNumber = { fg = colors.cyan }, + DapUIFloatBorder = { fg = colors.cyan }, + + DapUIWatchesEmpty = { fg = colors.baby_pink }, + DapUIWatchesValue = { fg = colors.green }, + DapUIWatchesError = { fg = colors.baby_pink }, + + DapUIBreakpointsPath = { fg = colors.cyan }, + DapUIBreakpointsInfo = { fg = colors.green }, + DapUIBreakPointsCurrentLine = { fg = colors.green, bold = true }, + DapUIBreakpointsDisabledLine = { fg = colors.grey_fg2 }, + + DapUIStepOver = { fg = colors.blue }, + DapUIStepInto = { fg = colors.blue }, + DapUIStepBack = { fg = colors.blue }, + DapUIStepOut = { fg = colors.blue }, + DapUIStop = { fg = colors.red }, + DapUIPlayPause = { fg = colors.green }, + DapUIRestart = { fg = colors.green }, + DapUIUnavailable = { fg = colors.grey_fg }, +}