diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 13:13:36 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | 8ec8924cd577f71953f8e420af1cd60da92f3300 (patch) | |
| tree | fb28f12321fd263a3dda07e9c82c24477df1f48f /src/fs.zig | |
| parent | ffc700d14d61fd5e6ca874a186932300c447c836 (diff) | |
| download | pardes-8ec8924cd577f71953f8e420af1cd60da92f3300.tar.gz pardes-8ec8924cd577f71953f8e420af1cd60da92f3300.zip | |
Add optional tree-sitter declaration context
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } }); } |
