Commit Graph

16 Commits

Author SHA1 Message Date
Valdemar Lorenzen a93afc7d16 fix: hide diff scope labels for visible declarations
The visible declaration already provides scope context. Cache the actual
identifier point separately from the declaration extent/decorators and hide
labels when it is visible in that side of the projected viewport.

Refill reclaimed rows and anchor carets against the resulting layout.
Retain sticky context when the symbol scrolls or wraps out of view.

Verified: 951 tests passed, cargo build, and real PTY smoke for declaration
visibility/scroll restoration, wrapping, horizontal clipping, unified view,
and short horizontal-pane caret reflow.
2026-10-16 18:52:48 +02:00
Valdemar Lorenzen a43094dda3 feat: show diff hunk scope labels
Show per-side Tree-sitter scope paths inline and as sticky continuation labels.
Keep presentation rows out of source coordinates, selections, and edits.

Verified: cargo test (949 passed), cargo build, and real PTY smoke covering
split/unified, wrapping, both split axes, sticky scrolling, live rename and undo.

Size exception: 549 implementation lines added plus deleted, excluding tests
and docs. Keep syntax extraction and coordinate-safe rendering together as one
working behavior.
2026-10-16 18:52:46 +02:00
Valdemar Lorenzen 2fd240aca8 feat: add Zig syntax highlighting 2026-10-15 11:56:54 +02:00
Valdemar Lorenzen 5580d6fbd4 refactor: share language IDs with indentation configuration 2026-10-14 13:12:50 +02:00
Valdemar Lorenzen 6a43fb9e0c feat: configure spaces on Tab per language 2026-10-14 13:12:46 +02:00
hl-valdemar 11b31d2621 feat: dim whitespace markers and configure scope and newlines 2026-10-13 23:33:42 +02:00
hl-valdemar adcc4f2656 fix: preserve literal whitespace inside strings 2026-10-13 23:12:57 +02:00
hl-valdemar 5e6b602127 feat: highlight Markdown list markers 2026-10-12 22:09:43 +02:00
hl-valdemar 2e05725a38 perf: avoid eager diff loading and full-file typing work 2026-10-11 15:54:42 +02:00
hl-valdemar db5d417a17 feat: add syntax-aware diff backgrounds and diagonal gap shading 2026-10-11 01:26:56 +02:00
hl-valdemar dc0bdd60d0 feat: enlarge floating hover and highlight Markdown content 2026-10-10 16:19:51 +02:00
hl-valdemar 2264dcb6e9 feat: follow Markdown file links and heading fragments 2026-10-09 23:19:21 +02:00
hl-valdemar fcfdc6516d fix: color Markdown heading markers with heading text 2026-10-09 23:00:45 +02:00
hl-valdemar d418d670ee feat: enable LSP semantic token highlighting by default 2026-10-09 22:44:55 +02:00
Valdemar Lorenzen e5d545a4ca refactor: migrate syntax highlighting to Tree-sitter 2026-10-09 11:56:21 +02:00
Valdemar Lorenzen 7c1e4c3ca0 feat: add syntax highlighting to text buffers 2026-10-09 11:15:17 +02:00