From: B-u-f-f Date: Sun, 19 Dec 2021 15:48:35 +0000 (+0530) Subject: Changed color and style for Tree-sitter highlight groups to work with tree-sitter... X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=a8106b9370338fbec149236132fd0861d5bb6265;p=nvim-plugins%2Fflatwhite.git Changed color and style for Tree-sitter highlight groups to work with tree-sitter-markdown. Hightlight groups changed: - TSStrong - TSEmphasis - TSUnderline - TSTitle - TSLiteral - TSURI --- 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