aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2016-04-02 23:35:15 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2016-04-02 23:35:15 -0400
commit0c4915da62a96bf6db20377ce11fa887b6271ad9 (patch)
tree4bc7d4b0722bce49aebf341841f3ab4fa8ad1dfd /modules/lua/init.lua
parentf6705b546d2f037302f2d2d95bae507e78b29d59 (diff)
downloadtextadept-0c4915da62a96bf6db20377ce11fa887b6271ad9.tar.gz
textadept-0c4915da62a96bf6db20377ce11fa887b6271ad9.zip
Code cleanup.
Do not use `ipairs()` and use more consistent variable names among other things.
Diffstat (limited to 'modules/lua/init.lua')
-rw-r--r--modules/lua/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index bc5ced65..1fb007be 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -58,7 +58,7 @@ textadept.editing.autocompleters.lua = function()
local fields = tag_line:match(';"\t(.*)$')
local k, class = fields:sub(1, 1), fields:match('class:(%S+)') or ''
if class == symbol and (op ~= ':' or k == 'f') then
- list[#list + 1] = ("%s%s%d"):format(name, sep, xpms[k])
+ list[#list + 1] = string.format('%s%s%d', name, sep, xpms[k])
list[name] = true
end
end