From a8106b9370338fbec149236132fd0861d5bb6265 Mon Sep 17 00:00:00 2001 From: B-u-f-f Date: Sun, 19 Dec 2021 21:18:35 +0530 Subject: [PATCH] Changed color and style for Tree-sitter highlight groups to work with tree-sitter-markdown. Hightlight groups changed: - TSStrong - TSEmphasis - TSUnderline - TSTitle - TSLiteral - TSURI --- lua/dracula/init.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lua/dracula/init.lua b/lua/dracula/init.lua index f9c5a7a..b97ea7d 100644 --- a/lua/dracula/init.lua +++ b/lua/dracula/init.lua @@ -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 -- 2.30.2