Skip to content

Commit

Permalink
groups: Add missing variable subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptomilk committed Jan 30, 2024
1 parent 981365e commit 9978044
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/nightcity/groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ H.get_color_groups = function(config, style)
['@variable'] = { fg = c.white },
-- @variable.builtin ; built-in variable names (e.g. `this`)
['@variable.builtin'] = { link = '@constructor' },
-- @variable.parameter ; parameters of a function
['@variable.parameter'] = { link = '@parameter' },
-- @variable.member ; object and struct fields
['@variable.member'] = { link = '@field' },

-- @constant ; constant identifiers
['@constant'] = { link = 'Constant' },
Expand Down

0 comments on commit 9978044

Please sign in to comment.