fix!: add treesitter default groups to theme
This commit is contained in:
@@ -208,7 +208,57 @@ function M.setup()
|
||||
DapStoppedLine = { bg = util.darken(c.warning, 0.1) }, -- Used for "Warning" diagnostic virtual text
|
||||
|
||||
-- These groups are for the Neovim tree-sitter highlights.
|
||||
-- As of writing, tree-sitter support is a WIP, group names may change.
|
||||
["@annotation"] = { link = "PreProc" },
|
||||
["@attribute"] = { link = "PreProc" },
|
||||
["@boolean"] = { link = "Boolean" },
|
||||
["@character"] = { link = "Character" },
|
||||
["@character.special"] = { link = "SpecialChar" },
|
||||
["@comment"] = { link = "Comment" },
|
||||
["@conditional"] = { link = "Conditional" },
|
||||
["@constant"] = { link = "Constant" },
|
||||
["@constant.builtin"] = { link = "Special" },
|
||||
["@constant.macro"] = { link = "Define" },
|
||||
["@debug"] = { link = "Debug" },
|
||||
["@define"] = { link = "Define" },
|
||||
["@exception"] = { link = "Exception" },
|
||||
["@float"] = { link = "Float" },
|
||||
["@function"] = { link = "Function" },
|
||||
["@function.builtin"] = { link = "Special" },
|
||||
["@function.call"] = { link = "@function" },
|
||||
["@function.macro"] = { link = "Macro" },
|
||||
["@include"] = { link = "Include" },
|
||||
["@keyword.coroutine"] = { link = "@keyword" },
|
||||
["@keyword.operator"] = { link = "@operator" },
|
||||
["@keyword.return"] = { link = "@keyword" },
|
||||
["@method"] = { link = "Function" },
|
||||
["@method.call"] = { link = "@method" },
|
||||
["@none"] = {},
|
||||
["@number"] = { link = "Number" },
|
||||
["@preproc"] = { link = "PreProc" },
|
||||
["@repeat"] = { link = "Repeat" },
|
||||
["@storageclass"] = { link = "StorageClass" },
|
||||
["@string"] = { link = "String" },
|
||||
["@string.special"] = { link = "SpecialChar" },
|
||||
["@symbol"] = { link = "Identifier" },
|
||||
["@tag"] = { link = "Label" },
|
||||
["@tag.attribute"] = { link = "@property" },
|
||||
["@tag.delimiter"] = { link = "Delimiter" },
|
||||
["@text"] = { link = "@none" },
|
||||
["@text.emphasis"] = { italic = true },
|
||||
["@text.environment"] = { link = "Macro" },
|
||||
["@text.environment.name"] = { link = "Type" },
|
||||
["@text.literal"] = { link = "String" },
|
||||
["@text.math"] = { link = "Special" },
|
||||
["@text.note"] = { link = "SpecialComment" },
|
||||
["@text.strike"] = { strikethrough = true },
|
||||
["@text.strong"] = { bold = true },
|
||||
["@text.title"] = { link = "Title" },
|
||||
["@text.todo"] = { link = "Todo" },
|
||||
["@text.underline"] = { underline = true },
|
||||
["@text.uri"] = { link = "Underlined" },
|
||||
["@type"] = { link = "Type" },
|
||||
["@type.definition"] = { link = "Typedef" },
|
||||
["@type.qualifier"] = { link = "@keyword" },
|
||||
|
||||
--- Misc
|
||||
-- TODO:
|
||||
|
||||
Reference in New Issue
Block a user