-
Notifications
You must be signed in to change notification settings - Fork 433
/
octo.lua
25 lines (20 loc) · 832 Bytes
/
octo.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
local Util = require("tokyonight.util")
local M = {}
M.url = "https://github.com/pwntester/octo.nvim"
---@type tokyonight.HighlightsFn
function M.get(c)
-- stylua: ignore
return {
OctoDetailsLabel = { fg = c.blue1, bold = true },
OctoDetailsValue = "@variable.member",
OctoDirty = { fg = c.orange, bold = true },
OctoIssueTitle = { fg = c.purple, bold = true },
OctoStateChangesRequested = "DiagnosticVirtualTextWarn",
OctoStateClosed = "DiagnosticVirtualTextError",
OctoStateMerged = { bg = Util.blend_bg(c.magenta, 0.1), fg = c.magenta },
OctoStateOpen = "DiagnosticVirtualTextHint",
OctoStatePending = "DiagnosticVirtualTextWarn",
OctoStatusColumn = { fg = c.blue1 },
}
end
return M