refactor: run zig fmt

This commit is contained in:
CJ van den Berg 2024-11-17 20:47:25 +01:00
parent 3524f70db5
commit 351412231f
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 8 additions and 8 deletions

View file

@ -1081,7 +1081,7 @@ pub const Editor = struct {
last_begin: Cursor = Cursor.invalid(),
fn cb(ctx: *@This(), range: syntax.Range, scope: []const u8, id: u32, idx: usize, _: *const syntax.Node) error{Stop}!void {
const sel_ = ctx.pos_cache.range_to_selection(range, ctx.root, ctx.self.metrics) orelse return;
if (idx > 0) return;
if (sel_.begin.eql(ctx.last_begin)) return;
ctx.last_begin = sel_.begin;