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.
This commit is contained in:
Yochem van Rosmalen
2025-10-11 22:39:51 +02:00
committed by GitHub
parent 8809c59ffd
commit 26bd9bfab8

View File

@@ -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