Skip to content

Commit

Permalink
fix: #224 js/ts highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Jan 24, 2024
1 parent 70cd744 commit e39ebd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/onedarkpro/highlights/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function M.groups(theme)
["@variable"] = { fg = theme.palette.red, style = config.styles.variables }, -- various variable names
["@variable.builtin"] = { fg = theme.palette.yellow }, -- built-in variable names (e.g. `this`)
["@variable.parameter"] = { fg = theme.palette.red, style = config.styles.parameters }, -- parameters of a function
["@variable.member"] = { fg = theme.palette.fg }, -- object and struct fields
["@variable.member"] = { fg = theme.palette.red }, -- object and struct fields

["@constant"] = { fg = theme.palette.orange, style = config.styles.constants }, -- constant identifiers
["@constant.builtin"] = { fg = theme.palette.purple, style = config.styles.constants }, -- built-in constant values
Expand Down Expand Up @@ -71,7 +71,7 @@ function M.groups(theme)

-- Punctuation
["@punctuation.delimiter"] = { link = "Delimiter" }, -- delimiters (e.g. `;` / `.` / `,`)
["@punctuation.bracket"] = { fg = theme.palette.fg }, -- brackets (e.g. `()` / `{}` / `[]`)
["@punctuation.bracket"] = { fg = theme.palette.purple }, -- brackets (e.g. `()` / `{}` / `[]`)
["@punctuation.special"] = { fg = theme.palette.fg }, -- special symbols (e.g. `{}` in string interpolation)

-- Comments
Expand Down

0 comments on commit e39ebd1

Please sign in to comment.