From 0cf858e14aa98218c4aec92011bded80e935549b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 14 Mar 2024 20:27:50 +0100 Subject: Add option to configure match_paren --- lua/no-clown-fiesta/groups/highlights.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lua/no-clown-fiesta/groups') diff --git a/lua/no-clown-fiesta/groups/highlights.lua b/lua/no-clown-fiesta/groups/highlights.lua index 1cfb328..65d1ca0 100644 --- a/lua/no-clown-fiesta/groups/highlights.lua +++ b/lua/no-clown-fiesta/groups/highlights.lua @@ -60,7 +60,11 @@ function M.highlight(palette, opts) PmenuSbar = { bg = palette.alt_bg }, PmenuThumb = { bg = palette.light_gray }, MatchWord = { underline = true }, - MatchParen = { fg = palette.blue, bg = palette.bg, underline = true }, + MatchParen = vim.tbl_extend( + "force", + { fg = palette.blue, bg = palette.bg, underline = true }, + opts.styles.match_paren + ), MatchWordCur = { underline = true }, MatchParenCur = { underline = true }, Cursor = { fg = palette.cursor_fg, bg = palette.cursor_bg }, -- cgit v1.2.3-70-g09d2