From 26bd9bfab8ce9af35f0e6a6f4315817aa9abefd7 Mon Sep 17 00:00:00 2001 From: Yochem van Rosmalen Date: Sat, 11 Oct 2025 22:39:51 +0200 Subject: [PATCH] fix(undotree): highlight extmarks like normal text #36087 Problem: Difference in highlight color between normal lines and extmark lines is distracting and conveys little information. Solution: Set extmarks highlight to the Normal group. --- runtime/pack/dist/opt/nvim.undotree/lua/undotree.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/pack/dist/opt/nvim.undotree/lua/undotree.lua b/runtime/pack/dist/opt/nvim.undotree/lua/undotree.lua index 724fdae31a..d0707112fb 100644 --- a/runtime/pack/dist/opt/nvim.undotree/lua/undotree.lua +++ b/runtime/pack/dist/opt/nvim.undotree/lua/undotree.lua @@ -220,7 +220,7 @@ local function buf_apply_graph_lines(tree, graph_lines, buf, meta, find_seq) found_seq = #meta end elseif line then - table.insert(extmark_buffer, { { line, 'Comment' } }) + table.insert(extmark_buffer, { { line, 'Normal' } }) end if next(extmark_buffer) and (v.kind == 'node' or is_last) then