Automatic keep adjusting indent size

When too few lines keep adjusting indent size
This commit is contained in:
Francesco Abbate
2021-02-19 11:51:49 +01:00
parent ef24828307
commit 2a0846b604
2 changed files with 18 additions and 8 deletions
+2
View File
@@ -119,6 +119,8 @@ function StatusView:get_items()
self.separator,
string.format("%d%%", line / #dv.doc.lines * 100),
}, {
style.text, "spaces: ", tostring(dv.doc.indent_spaces),
style.dim, self.separator2, style.text,
style.icon_font, "g",
style.font, style.dim, self.separator2, style.text,
#dv.doc.lines, " lines",