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]
|
local prev = self.lines[idx - 1]
|
||||||
line = self:tokenize_line(idx, prev and prev.state)
|
line = self:tokenize_line(idx, prev and prev.state)
|
||||||
self.lines[idx] = line
|
self.lines[idx] = line
|
||||||
self.first_invalid_line = math.min(self.first_invalid_line, idx)
|
|
||||||
end
|
end
|
||||||
self.max_wanted_line = math.max(self.max_wanted_line, idx)
|
self.max_wanted_line = math.max(self.max_wanted_line, idx)
|
||||||
return line
|
return line
|
||||||
|
|
Loading…
Reference in a new issue