diff --git a/src/tui/editor.zig b/src/tui/editor.zig index d808e0e..90d5f60 100644 --- a/src/tui/editor.zig +++ b/src/tui/editor.zig @@ -2542,7 +2542,7 @@ pub const Editor = struct { pub const toggle_comment_meta = .{ .description = "Toggle comment" }; fn indent_cursor(self: *Self, root: Buffer.Root, cursor: Cursor, allocator: Allocator) error{Stop}!Buffer.Root { - const space = " "; + const space = " "; var cursel: CurSel = .{}; cursel.cursor = cursor; const cols = self.indent_size - find_first_non_ws(root, cursel.cursor.row, self.metrics) % self.indent_size;