Skip to content

Commit

Permalink
Merge pull request #315 from JulesNP/tsfix
Browse files Browse the repository at this point in the history
Update to include new TreeSitter capture names
  • Loading branch information
ellisonleao authored Jan 29, 2024
2 parents 4176b0b + d0635ba commit 8bac23f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions lua/gruvbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -956,25 +956,39 @@ local function get_groups()
["@punctuation.special"] = { link = "Delimiter" },
["@string"] = { link = "String" },
["@string.regex"] = { link = "String" },
["@string.regexp"] = { link = "String" },
["@string.escape"] = { link = "SpecialChar" },
["@string.special"] = { link = "SpecialChar" },
["@string.special.path"] = { link = "Underlined" },
["@string.special.symbol"] = { link = "Identifier" },
["@string.special.url"] = { link = "Underlined" },
["@character"] = { link = "Character" },
["@character.special"] = { link = "SpecialChar" },
["@boolean"] = { link = "Boolean" },
["@number"] = { link = "Number" },
["@number.float"] = { link = "Float" },
["@float"] = { link = "Float" },
["@function"] = { link = "Function" },
["@function.builtin"] = { link = "Special" },
["@function.call"] = { link = "Function" },
["@function.macro"] = { link = "Macro" },
["@function.method"] = { link = "Function" },
["@method"] = { link = "Function" },
["@method.call"] = { link = "Function" },
["@constructor"] = { link = "Special" },
["@parameter"] = { link = "Identifier" },
["@keyword"] = { link = "Keyword" },
["@keyword.conditional"] = { link = "Conditional" },
["@keyword.debug"] = { link = "Debug" },
["@keyword.directive"] = { link = "PreProc" },
["@keyword.directive.define"] = { link = "Define" },
["@keyword.exception"] = { link = "Exception" },
["@keyword.function"] = { link = "Keyword" },
["@keyword.import"] = { link = "Include" },
["@keyword.operator"] = { link = "GruvboxRed" },
["@keyword.repeat"] = { link = "Repeat" },
["@keyword.return"] = { link = "Keyword" },
["@keyword.storage"] = { link = "StorageClass" },
["@conditional"] = { link = "Conditional" },
["@repeat"] = { link = "Repeat" },
["@debug"] = { link = "Debug" },
Expand All @@ -991,9 +1005,34 @@ local function get_groups()
["@property"] = { link = "Identifier" },
["@variable"] = { link = "GruvboxFg1" },
["@variable.builtin"] = { link = "Special" },
["@variable.member"] = { link = "Identifier" },
["@variable.parameter"] = { link = "Identifier" },
["@constant"] = { link = "Constant" },
["@constant.builtin"] = { link = "Special" },
["@constant.macro"] = { link = "Define" },
["@markup"] = { link = "GruvboxFg1" },
["@markup.strong"] = { bold = config.bold },
["@markup.emphasis"] = { italic = config.italic.emphasis },
["@markup.underline"] = { underline = config.underline },
["@markup.strike"] = { strikethrough = config.strikethrough },
["@markup.heading"] = { link = "Title" },
["@markup.raw"] = { link = "String" },
["@markup.math"] = { link = "Special" },
["@markup.environment"] = { link = "Macro" },
["@markup.environment.name"] = { link = "Type" },
["@markup.link"] = { link = "Underlined" },
["@markup.link.label"] = { link = "SpecialChar" },
["@markup.list"] = { link = "Delimiter" },
["@markup.list.checked"] = { link = "GruvboxGreen" },
["@markup.list.unchecked"] = { link = "GruvboxGray" },
["@comment.todo"] = { link = "Todo" },
["@comment.note"] = { link = "SpecialComment" },
["@comment.warning"] = { link = "WarningMsg" },
["@comment.error"] = { link = "ErrorMsg" },
["@diff.plus"] = { link = "diffAdded" },
["@diff.minus"] = { link = "diffRemoved" },
["@diff.delta"] = { link = "diffChanged" },
["@module"] = { link = "GruvboxFg1" },
["@namespace"] = { link = "GruvboxFg1" },
["@symbol"] = { link = "Identifier" },
["@text"] = { link = "GruvboxFg1" },
Expand Down

0 comments on commit 8bac23f

Please sign in to comment.