aboutsummaryrefslogtreecommitdiff
path: root/plugins/tabnumbers.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-03-11 05:09:39 -0400
committerjgmdev <jgmdev@gmail.com>2022-05-22 13:16:10 -0400
commit6216f0e979239b7ee14e6f53cd0f1e14e5effae0 (patch)
treee1b22c86b1305da756343fac78af85cbab696a82 /plugins/tabnumbers.lua
parentb68091bf1fb3f0935390f0d4bb38e55194f18ade (diff)
downloadlite-xl-plugins-6216f0e979239b7ee14e6f53cd0f1e14e5effae0.tar.gz
lite-xl-plugins-6216f0e979239b7ee14e6f53cd0f1e14e5effae0.zip
tabnumbers: make use of an unused variable
Diffstat (limited to 'plugins/tabnumbers.lua')
-rw-r--r--plugins/tabnumbers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tabnumbers.lua b/plugins/tabnumbers.lua
index f729e0c..1656100 100644
--- a/plugins/tabnumbers.lua
+++ b/plugins/tabnumbers.lua
@@ -23,6 +23,6 @@ function Node:draw_tabs(...)
color = style.accent
end
-- renderer.draw_rect(x, y + h - 1, free_real_estate, 1, color)
- common.draw_text(style.font, color, tostring(i), "center", x, y, free_real_estate, h)
+ common.draw_text(style.font, color, number, "center", x, y, free_real_estate, h)
end
end