Migrate to Lua 5.4

This commit is contained in:
Jan200101
2021-12-31 13:53:01 +01:00
parent 416a06c566
commit 99ddf1fb92
12 changed files with 98 additions and 56 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ function StatusView:get_items()
col > config.line_limit and style.accent or style.text, "col: ", col,
style.text,
self.separator,
string.format("%d%%", line / #dv.doc.lines * 100),
string.format("%.f%%", line / #dv.doc.lines * 100),
}, {
style.text, indent_label, indent_size,
style.dim, self.separator2, style.text,