diff --git a/src/types.zig b/src/types.zig index 5479b4c..d46cb2b 100644 --- a/src/types.zig +++ b/src/types.zig @@ -140,8 +140,7 @@ pub const TextDocument = struct { text: String, // This holds the memory that we have actually allocated. mem: []u8, - sane_text: ?String = "", - // tree: ?*std.zig.ast.Tree = null, + sane_text: ?String = null, pub fn positionToIndex(self: *const TextDocument, position: Position) !usize { var split_iterator = std.mem.split(self.text, "\n");