Skip to content

Commit

Permalink
Add @keyword.import.javascript hl group
Browse files Browse the repository at this point in the history
This commit adds a new highlighting group, `@keyword.import.javascript`,
to ensure consistency in the appearance of the "import" keyword in
`jsx` and `tsx` files.
  • Loading branch information
VolodymyrVorona committed Jun 12, 2024
1 parent dc0dc3a commit 0e51e54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/darkplus/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,9 @@ theme.set_highlights = function()
hl(0, "@tag.tsx", { fg = c.cyan, bg = 'NONE' })
hl(0, "@tag.jsx", { fg = c.cyan, bg = 'NONE' })

-- Javascript
hl(0, "@keyword.import.javascript", { fg = c.purple, bg = 'NONE' })

-- CSS
hl(0, "@string.special.css", { fg = c.dark_yellow, bg = 'NONE' })
hl(0, "@type.definition.css", { fg = c.blue_2, bg = 'NONE' })
Expand Down

0 comments on commit 0e51e54

Please sign in to comment.