From bcd46007516e6087c356bb9711fd1b9505db75a1 Mon Sep 17 00:00:00 2001 From: delphinus Date: Fri, 15 May 2026 15:37:19 +0900 Subject: [PATCH] fix(highlight): bump MdRenderInlineCode bg blend from 0.18 to 0.3 The 0.18 tint was too subtle to clearly distinguish inline code from surrounding prose in many colorschemes. 0.3 gives a noticeably visible bg without becoming distracting. Co-Authored-By: Claude Opus 4.7 (1M context) --- lua/md-render/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/md-render/init.lua b/lua/md-render/init.lua index 7d3985a..17147b9 100644 --- a/lua/md-render/init.lua +++ b/lua/md-render/init.lua @@ -125,7 +125,7 @@ function M.setup_inline_code_highlight() local normal_bg = normal_hl.bg or 0x1e1e2e local comment_hl = vim.api.nvim_get_hl(0, { name = "Comment", link = false }) local tint = comment_hl.fg or 0x888888 - local bg = blend_color(tint, normal_bg, 0.18) + local bg = blend_color(tint, normal_bg, 0.3) local string_hl = vim.api.nvim_get_hl(0, { name = "String", link = false }) if string_hl.fg then vim.api.nvim_set_hl(0, "MdRenderInlineCode", { fg = string_hl.fg, bg = bg, default = true })