mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 10:55:40 +00:00
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:
committed by
GitHub
parent
8809c59ffd
commit
26bd9bfab8
@@ -220,7 +220,7 @@ local function buf_apply_graph_lines(tree, graph_lines, buf, meta, find_seq)
|
|||||||
found_seq = #meta
|
found_seq = #meta
|
||||||
end
|
end
|
||||||
elseif line then
|
elseif line then
|
||||||
table.insert(extmark_buffer, { { line, 'Comment' } })
|
table.insert(extmark_buffer, { { line, 'Normal' } })
|
||||||
end
|
end
|
||||||
|
|
||||||
if next(extmark_buffer) and (v.kind == 'node' or is_last) then
|
if next(extmark_buffer) and (v.kind == 'node' or is_last) then
|
||||||
|
|||||||
Reference in New Issue
Block a user