aboutsummaryrefslogtreecommitdiff
path: root/data/core/statusview.lua
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-12-31 13:53:01 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-12-31 13:53:01 +0100
commit99ddf1fb9274f2f1928b92abfe62c2172c19cdb3 (patch)
tree1e72caa10110e73aa99b85379d85ae007972eb16 /data/core/statusview.lua
parent416a06c5663e71e51fec5bf12ddd8a136f99a1c8 (diff)
downloadpragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.tar.gz
pragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.zip
Migrate to Lua 5.4
Diffstat (limited to 'data/core/statusview.lua')
-rw-r--r--data/core/statusview.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/core/statusview.lua b/data/core/statusview.lua
index 330fcc76..1e5140f2 100644
--- a/data/core/statusview.lua
+++ b/data/core/statusview.lua
@@ -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,