Skip to content

Commit

Permalink
Added support for @storageclass.lifetime
Browse files Browse the repository at this point in the history
@storageclass.lifetime / TSStorageClassLifetime
Added in highlight groups for Rust lifetime syntax.
  • Loading branch information
dfendr authored and luisiacc committed Nov 17, 2022
1 parent b47c009 commit ea71b42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/gruvbox-baby/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function M.link_new_highlights()
highlight! link @punctuation.special TSPunctSpecial
highlight! link @repeat TSRepeat
highlight! link @storageclass TSStorageClass
highlight! link @storageclass.lifetime TSStorageClassLifetime
highlight! link @string TSString
highlight! link @string.escape TSStringEscape
highlight! link @string.regex TSStringRegex
Expand Down Expand Up @@ -187,7 +188,8 @@ function M.setup(config)
TSException = { fg = c.red },
TSType = { fg = c.clean_green },
TSTypeBuiltin = { fg = c.blue_gray },
TSTypeQualifier = { fg = c.orange},
TSTypeQualifier = { fg = c.orange },
TSStorageClassLifetime = {fg = c.orange},
TSStructure = { fg = c.blue_gray },
TSVariable = { fg = c.light_blue, style = config.variable_style },
TSVariableBuiltin = { fg = c.blue_gray },
Expand Down

0 comments on commit ea71b42

Please sign in to comment.