Changed color and style for Tree-sitter highlight groups to work with tree-sitter...
authorB-u-f-f <kshitij957@gmail.com>
Sun, 19 Dec 2021 15:48:35 +0000 (21:18 +0530)
committerB-u-f-f <kshitij957@gmail.com>
Sun, 19 Dec 2021 15:48:35 +0000 (21:18 +0530)
Hightlight groups changed:
    - TSStrong
    - TSEmphasis
    - TSUnderline
    - TSTitle
    - TSLiteral
    - TSURI

lua/dracula/init.lua

index f9c5a7a3f17100280a202bebd534bb0b63907527..b97ea7d64369b5232444dea3f5f74b454d323434 100644 (file)
@@ -219,15 +219,16 @@ M.apply = function()
        highlight("TSVariable", colors.fg, nil, nil, nil)
        highlight("TSVariableBuiltin", colors.purple, nil, nil, nil)
 
-       highlight("TSText", colors.orange, nil, nil, nil)
-       highlight("TSStrong", colors.orange, nil, nil, nil)
-       highlight("TSEmphasis", colors.orange, nil, nil, nil)
+
+  highlight("TSText", colors.orange, nil, nil, nil)
+       highlight("TSStrong", colors.yellow, nil, "italic", nil)  -- italic
+       highlight("TSEmphasis", colors.orange, nil, "bold", nil)  -- bold
        highlight("TSUnderline", colors.orange, nil, nil, nil)
-       highlight("TSTitle", colors.orange, nil, nil, nil)
-       highlight("TSLiteral", colors.orange, nil, nil, nil)
-       highlight("TSURI", colors.orange, nil, nil, nil)
+       highlight("TSTitle", colors.pink, nil, nil, nil)          -- title
+       highlight("TSLiteral", colors.yellow, nil, nil, nil)      -- inline code
+       highlight("TSURI", colors.yellow, nil, "italic", nil)     -- urls
 
-       highlight("TSTag", colors.cyan, nil, nil, nil)
+  highlight("TSTag", colors.cyan, nil, nil, nil)
        highlight("TSTagDelimiter", colors.white, nil, nil, nil)
 
        -- HTML