Removed redundant line from syntax highlighter
This commit is contained in:
parent
8671b02bdc
commit
543234c42e
|
@ -66,7 +66,6 @@ function Highlighter:get_line(idx)
|
|||
local prev = self.lines[idx - 1]
|
||||
line = self:tokenize_line(idx, prev and prev.state)
|
||||
self.lines[idx] = line
|
||||
self.first_invalid_line = math.min(self.first_invalid_line, idx)
|
||||
end
|
||||
self.max_wanted_line = math.max(self.max_wanted_line, idx)
|
||||
return line
|
||||
|
|
Loading…
Reference in a new issue