From 8ec8924cd577f71953f8e420af1cd60da92f3300 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 13:13:36 -0300 Subject: Add optional tree-sitter declaration context --- src/fs.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fs.zig') diff --git a/src/fs.zig b/src/fs.zig index 5ec09d3e..4fe32347 100644 --- a/src/fs.zig +++ b/src/fs.zig @@ -2957,6 +2957,9 @@ pub fn nameBuffer(p: *Pardes, id: usize, full: []const u8, preserve_tag: bool) ! f.highlights = &.{}; f.highlight_start = 0; f.syntax_dirty = true; + f.context_revision = null; + pane.context_rows = 0; + pane.wrap_n = 0; p.invalidateLookHover(id); p.emit(.{ .watch = .{ .pane = @intCast(id), .on = false } }); } -- cgit v1.3