-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
trouble.lua
30 lines (28 loc) · 1.03 KB
/
trouble.lua
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
local M = {}
--- Get extension configuration
--- @param opts Config
--- @param t CyberdreamPalette
function M.get(opts, t)
opts = opts or {}
local highlights = {
TroubleCode = { fg = t.magenta },
TroubleCount = { bg = t.bgHighlight, bold = true },
TroubleDirectory = { fg = t.grey, bold = true },
TroubleFilename = { fg = t.cyan },
TroubleIconArray = { fg = t.pink },
TroubleIconBoolean = { link = "Boolean" },
TroubleIconConstant = { link = "Constant" },
TroubleIconDirectory = { fg = t.blue },
TroubleIconEvent = { link = "Special" },
TroubleIconField = { link = "Boolean" },
TroubleIconFile = { link = "Normal" },
TroubleIconFunction = { link = "@function" },
TroubleIndent = { link = "LineNr" },
TroubleIndentFoldClosed = { link = "CursorLineNr" },
TroublePos = { link = "LineNr" },
TroublePreview = { link = "Visual" },
TroubleSource = { link = "Comment" },
}
return highlights
end
return M