From: Ollie Stone Date: Wed, 18 Jan 2023 17:21:42 +0000 (+0000) Subject: Change some TreeSitter highlights with markdown in mind X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=31895d9fc5579fda9a25d133287065b7f98d4f27;p=nvim-plugins%2Fflatwhite.git Change some TreeSitter highlights with markdown in mind Specifically, make titles bold, make special punctuation (e.g. bullet points) cyan, and add the text.reference highlight group and make it orange and bold. --- diff --git a/lua/dracula/groups.lua b/lua/dracula/groups.lua index 5128019..a02ced3 100644 --- a/lua/dracula/groups.lua +++ b/lua/dracula/groups.lua @@ -129,7 +129,7 @@ local function setup(configs) ['@error'] = { fg = colors.bright_red, }, ['@punctuation.delimiter'] = { fg = colors.fg, }, ['@punctuation.bracket'] = { fg = colors.fg, }, - ['@punctuation.special'] = { fg = colors.fg, }, + ['@punctuation.special'] = { fg = colors.cyan, }, ['@constant'] = { fg = colors.purple, }, ['@constant.builtin'] = { fg = colors.purple, }, @@ -179,9 +179,10 @@ local function setup(configs) ['@text.strong'] = { fg = colors.orange, bold = true, }, -- bold ['@text.emphasis'] = { fg = colors.yellow, italic = true, }, -- italic ['@text.underline'] = { fg = colors.orange, }, - ['@text.title'] = { fg = colors.pink, }, -- title + ['@text.title'] = { fg = colors.pink, bold = true, }, -- title ['@text.literal'] = { fg = colors.yellow, }, -- inline code ['@text.uri'] = { fg = colors.yellow, italic = true, }, -- urls + ['@text.reference'] = { fg = colors.orange, bold = true, }, ['@tag'] = { fg = colors.cyan, }, ['@tag.attribute'] = { fg = colors.green, },