From 158714f59da169fa3edd0951270cb24767604eef Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 15 Oct 2022 00:48:51 +0200 Subject: Add link field and remove undercurl from all but error --- lua/no-clown-fiesta/util.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/no-clown-fiesta/util.lua') diff --git a/lua/no-clown-fiesta/util.lua b/lua/no-clown-fiesta/util.lua index 4db151c..1591a63 100644 --- a/lua/no-clown-fiesta/util.lua +++ b/lua/no-clown-fiesta/util.lua @@ -5,6 +5,7 @@ local function highlight(group, properties) local fg = properties.fg == nil and "" or "guifg=" .. properties.fg local sp = properties.sp == nil and "" or "guisp=" .. properties.sp local style = properties.style == nil and "" or "gui=" .. properties.style + local link = properties.link == nil and "" or "link=" .. properties.link local cmd = table.concat({ "highlight", @@ -13,6 +14,7 @@ local function highlight(group, properties) fg, sp, style, + link, }, " ") vim.api.nvim_command(cmd) -- cgit v1.2.3-70-g09d2