diff options
| author | Julian Pottle <julianpottle@gmail.com> | 2024-01-20 14:17:06 -0500 |
|---|---|---|
| committer | Julian Pottle <julianpottle@gmail.com> | 2024-01-20 23:04:37 -0500 |
| commit | d0635ba2b511761615301a28fd7dfdc55f986bf5 (patch) | |
| tree | 9a73508ba77a27c2430d354961a309222b515d71 /lua/gruvbox.lua | |
| parent | 4176b0b720db0c90ab4030e5c1b4893faf41fd51 (diff) | |
| download | gruvbox-d0635ba2b511761615301a28fd7dfdc55f986bf5.tar.gz gruvbox-d0635ba2b511761615301a28fd7dfdc55f986bf5.tar.xz | |
Update to include new TreeSitter capture names
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Diffstat (limited to 'lua/gruvbox.lua')
| -rw-r--r-- | lua/gruvbox.lua | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lua/gruvbox.lua b/lua/gruvbox.lua index 0236b9a..2d1a4ce 100644 --- a/lua/gruvbox.lua +++ b/lua/gruvbox.lua @@ -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" }, @@ -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" }, |
