Skip to content

Commit e374360

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 fb0ac9c commit e374360

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
@@ -474,6 +474,9 @@ theme.set_highlights = function()
474474
hl(0, "@tag.tsx", { fg = c.cyan, bg = 'NONE' })
475475
hl(0, "@tag.jsx", { fg = c.cyan, bg = 'NONE' })
476476

477+
-- Javascript
478+
hl(0, "@keyword.import.javascript", { fg = c.purple, bg = 'NONE' })
479+
477480
-- CSS
478481
hl(0, "@string.special.css", { fg = c.dark_yellow, bg = 'NONE' })
479482
hl(0, "@type.definition.css", { fg = c.blue_2, bg = 'NONE' })

0 commit comments

Comments
 (0)