support neorg bold, italic and url highlighting
authorgallon <h1090703848@gmail.com>
Mon, 28 Aug 2023 02:31:39 +0000 (10:31 +0800)
committergallon <h1090703848@gmail.com>
Mon, 28 Aug 2023 03:34:24 +0000 (11:34 +0800)
lua/nord/theme.lua

index a3aada1621b321f4178b5c7797afbc38b4644063..59ce1dd686f148e93695f4db053f8eb4e6956324 100644 (file)
@@ -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