From 1b7701b8e062b0170c7b59823a93efd7f2416544 Mon Sep 17 00:00:00 2001 From: gallon Date: Mon, 28 Aug 2023 10:31:39 +0800 Subject: [PATCH] support neorg bold, italic and url highlighting --- lua/nord/theme.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/nord/theme.lua b/lua/nord/theme.lua index a3aada1..59ce1dd 100644 --- a/lua/nord/theme.lua +++ b/lua/nord/theme.lua @@ -291,11 +291,11 @@ theme.loadTreeSitter = function() ["@tag"] = { fg = nord.nord4_gui }, ["@tag.delimiter"] = { fg = nord.nord15_gui }, ["@text"] = { fg = nord.nord4_gui }, - ["@text.reference"] = { fg = nord.nord15_gui }, - ["@text.emphasis"] = { fg = nord.nord10_gui }, + ["@text.reference"] = { fg = nord.nord15_gui, style = bold }, + ["@text.emphasis"] = { fg = nord.nord10_gui, style = italic }, ["@text.underline"] = { fg = nord.nord4_gui, bg = nord.none, style = "underline" }, ["@text.literal"] = { fg = nord.nord4_gui }, - ["@text.uri"] = { fg = nord.nord14_gui }, + ["@text.uri"] = { fg = nord.nord14_gui, style = "underline" }, ["@text.strike"] = { fg = nord.nord4_gui, style = "strikethrough" }, -- @todo Missing highlights -- 2.39.5