Skip to content

Commit 0e51e54

Browse files
Add @keyword.import.javascript hl group
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.
1 parent dc0dc3a commit 0e51e54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/darkplus/theme.lua

+3
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,9 @@ theme.set_highlights = function()
483483
hl(0, "@tag.tsx", { fg = c.cyan, bg = 'NONE' })
484484
hl(0, "@tag.jsx", { fg = c.cyan, bg = 'NONE' })
485485

486+
-- Javascript
487+
hl(0, "@keyword.import.javascript", { fg = c.purple, bg = 'NONE' })
488+
486489
-- CSS
487490
hl(0, "@string.special.css", { fg = c.dark_yellow, bg = 'NONE' })
488491
hl(0, "@type.definition.css", { fg = c.blue_2, bg = 'NONE' })

0 commit comments

Comments
 (0)