Initial Commit

This commit is contained in:
Henrik Hautakoski 2026-05-17 16:26:31 +02:00
commit 694515c168
16 changed files with 1325 additions and 0 deletions

View file

@ -0,0 +1,46 @@
local M = {}
---@param c Colors
function M.get(c)
return {
Comment = { fg = c.fg_comment, italic = true },
String = { fg = c.string },
Character = { fg = c.string },
Number = { fg = c.number },
Float = { link = "Number" },
Boolean = { link = "Constant" },
Identifier = { link = "Constant" },
Function = { link = "Normal" },
Statement = { link = "Keyword" },
Conditional = { link = "Keyword" },
Repeat = { link = "Keyword" },
Label = { fg = c.tag },
Operator = { fg = c.operator },
Keyword = { fg = c.keyword },
Exception = { fg = c.error },
PreProc = { fg = c.special },
Include = { link = "PreProc" },
Define = { link = "PreProc" },
Macro = { link = "PreProc" },
PreCondit = { link = "PreProc" },
Type = { fg = c.type },
StorageClass = { fg = c.keyword, italic = true },
Structure = { fg = c.type, bold = true },
Typedef = { link = "PreProc" },
Constant = { fg = c.constant },
Special = { fg = c.special },
SpecialChar = { link = "Special" },
Tag = { fg = c.tag },
Delimiter = { fg = c.fg_dim },
SpecialComment = { fg = c.constant, italic = true },
Debug = { fg = c.hint },
Underlined = { fg = c.accent, underline = true },
Bold = { bold = true },
Italic = { italic = true },
Ignore = { fg = c.nontext },
Error = { fg = c.error },
Todo = { fg = c.bg, bg = c.info, bold = true },
}
end
return M