From ecf3e186d336e03b5ce7ed4e8f7f72ad983947df Mon Sep 17 00:00:00 2001 From: Alex <49870662+ysomad@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:23:49 +0400 Subject: Add nvim-dap-ui highlight groups (#31) * Add dap ui support * Add dap ui support * add support for nvim-dap-ui * fix: bold style * cleanup comments * rename dap to dapui --- lua/no-clown-fiesta/groups/dapui.lua | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lua/no-clown-fiesta/groups/dapui.lua (limited to 'lua/no-clown-fiesta/groups/dapui.lua') diff --git a/lua/no-clown-fiesta/groups/dapui.lua b/lua/no-clown-fiesta/groups/dapui.lua new file mode 100644 index 0000000..188e97d --- /dev/null +++ b/lua/no-clown-fiesta/groups/dapui.lua @@ -0,0 +1,35 @@ +local M = {} + +function M.highlight(palette, opts) + return { + DapUIScope = { fg = palette.cyan }, + DapUIType = { fg = palette.magenta }, + DapUIModifiedValue = { fg = palette.cyan, bold = true }, + DapUIDecoration = { link = 'DapUIScope' }, + DapUIThread = { fg = palette.green, bold = true }, + DapUIStoppedThread = { link = 'DapUIScope' }, + DapUISource = { link = 'DapUIType' }, + DapUILineNumber = { link = 'DapUIScope' }, + DapUIFloatBorder = { link = 'DapUIScope' }, + DapUIWatchesEmpty = { fg = palette.red }, + DapUIWatchesValue = { fg = palette.green }, + DapUIWatchesError = { link = 'DapUIWatchesEmpty' }, + DapUIBreakpointsPath = { link = 'DapUIScope' }, + DapUIBreakpointsInfo = { link = 'DapUIWatchesValue' }, + DapUIBreakpointsCurrentLine = { link = 'DapUIThread' }, + DapUIBreakpointsDisabledLine = { fg = palette.fg }, + DapUIStepOver = { link = 'DapUIScope' }, + DapUIStepInto = { link = 'DapUIScope' }, + DapUIStepBack = { link = 'DapUIScope' }, + DapUIStepOut = { link = 'DapUIScope' }, + DapUIStop = { link = 'DapUIWatchesEmpty' }, + DapUIPlayPause = { link = 'DapUIWatchesValue' }, + DapUIRestart = { link = 'DapUIWatchesValue' }, + DapUIUnavailable = { link = 'DapUIBreakpointsDisabledLine' }, + DapUIWinSelect = { link = 'DapUIModifiedValue' }, + } +end + +return M + + -- cgit v1.2.3-70-g09d2