summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/dapui.lua
blob: 4a897778d69e4cd59bafdbd91b1de4e19cbe8181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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