Whitespace

This commit is contained in:
rxi 2020-05-10 09:14:12 +01:00
parent 143f8867a1
commit 8671b02bdc
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ function Highlighter:reset()
self.max_wanted_line = 0
end
function Highlighter:invalidate(idx)
self.first_invalid_line = idx
self.max_wanted_line = math.min(self.max_wanted_line, #self.doc.lines)