From: gallon Date: Mon, 28 Aug 2023 02:31:39 +0000 (+0800) Subject: support neorg bold, italic and url highlighting X-Git-Url: https://git.lhaegele.de/?a=commitdiff_plain;h=1b7701b8e062b0170c7b59823a93efd7f2416544;p=nvim%2Fnord.nvim.git support neorg bold, italic and url highlighting --- 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