diff options
| author | Jan200101 <sentrycraft123@gmail.com> | 2021-12-31 13:53:01 +0100 |
|---|---|---|
| committer | Jan200101 <sentrycraft123@gmail.com> | 2021-12-31 13:53:01 +0100 |
| commit | 99ddf1fb9274f2f1928b92abfe62c2172c19cdb3 (patch) | |
| tree | 1e72caa10110e73aa99b85379d85ae007972eb16 /data/core/statusview.lua | |
| parent | 416a06c5663e71e51fec5bf12ddd8a136f99a1c8 (diff) | |
| download | pragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.tar.gz pragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.zip | |
Migrate to Lua 5.4
Diffstat (limited to 'data/core/statusview.lua')
| -rw-r--r-- | data/core/statusview.lua | 2 |
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, |
