Merge pull request #634 from Guldoman/fix_highlighter_holes
Don't insert `nil` in highlighter lines table
This commit is contained in:
commit
286183f917
|
@ -52,7 +52,7 @@ end
|
||||||
function Highlighter:insert_notify(line, n)
|
function Highlighter:insert_notify(line, n)
|
||||||
self:invalidate(line)
|
self:invalidate(line)
|
||||||
for i = 1, n do
|
for i = 1, n do
|
||||||
table.insert(self.lines, line, nil)
|
table.insert(self.lines, line, false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue