mirror of
https://codeberg.org/pnx/skift.nvim.git
synced 2026-06-17 04:40:03 +02:00
Initial Commit
This commit is contained in:
commit
694515c168
16 changed files with 1325 additions and 0 deletions
46
lua/skift/groups/syntax.lua
Normal file
46
lua/skift/groups/syntax.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue