Merge pull request #634 from Guldoman/fix_highlighter_holes

Don't insert `nil` in highlighter lines table
This commit is contained in:
Adam 2021-11-04 20:45:03 -04:00 committed by GitHub
commit 286183f917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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