From 2951af7bbd839ebef25e33f8bd01bd5c501f76c8 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sat, 29 Oct 2022 18:19:38 +0200 Subject: Update how options and colorscheme is set (#12) * Update loading of colorscheme * Fix typo * Fix setting of style * Fix highlighting * Unpack style * Add empty table if props are nil * Fix concat of tables * Fix typo * Update settings * Add call set in settings * Add deep extend * Remove style field * Update README BREAKING CHANGE: updates how the colorscheme is set and the structure of the options table --- lua/no-clown-fiesta/highlight-group/lsp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/no-clown-fiesta/highlight-group/lsp.lua') diff --git a/lua/no-clown-fiesta/highlight-group/lsp.lua b/lua/no-clown-fiesta/highlight-group/lsp.lua index daf87f9..5ebfc34 100644 --- a/lua/no-clown-fiesta/highlight-group/lsp.lua +++ b/lua/no-clown-fiesta/highlight-group/lsp.lua @@ -35,11 +35,11 @@ function M.highlight(palette) LspDiagnosticsHint = { fg = palette.hint_blue }, DiagnosticUnderlineError = { sp = palette.error_red, - style = "undercurl", + undercurl = true, }, - DiagnosticUnderlineWarn = { sp = palette.warning_orange, style = "NONE" }, - DiagnosticUnderlineInfo = { sp = palette.hint_blue, style = "NONE" }, - DiagnosticUnderlineHint = { sp = palette.hint_blue, style = "NONE" }, + DiagnosticUnderlineWarn = { sp = palette.warning_orange }, + DiagnosticUnderlineInfo = { sp = palette.hint_blue }, + DiagnosticUnderlineHint = { sp = palette.hint_blue }, LspReferenceRead = { bg = "#36383F" }, LspReferenceText = { bg = "#36383F" }, LspReferenceWrite = { bg = "#36383f" }, -- cgit v1.2.3-70-g09d2