This commit is contained in:
SuperAuguste 2020-05-07 12:25:37 -04:00
parent 1725278be1
commit 6b099f8c6d

View File

@ -138,7 +138,6 @@ pub const TextDocument = struct {
uri: DocumentUri,
text: String,
sane_text: ?String = "",
// tree: ?*std.zig.ast.Tree = null,
pub fn positionToIndex(self: *const TextDocument, position: Position) !usize {
var split_iterator = std.mem.split(self.text, "\n");