commit 26bd9bfab8ce9af35f0e6a6f4315817aa9abefd7
parent 8809c59ffd7df658384f6cb9e6f51d43b48efe14
Author: Yochem van Rosmalen <git@yochem.nl>
Date: Sat, 11 Oct 2025 22:39:51 +0200
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.
Diffstat:
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
@@ -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