fix: update tree-sitter and fix syntax.create
This commit is contained in:
parent
ea0b053b73
commit
3619572ed8
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ pub fn create(file_type: *const FileType, a: std.mem.Allocator, content: []const
|
|||
};
|
||||
errdefer self.destroy();
|
||||
try self.parser.setLanguage(self.lang);
|
||||
try self.parse(content);
|
||||
try self.refresh_full(content);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue