Migrate to Lua 5.4

This commit is contained in:
Jan200101 committed 2021-12-31 13:53:01 +01:00
1 parent 416a06c566
commit 99ddf1fb92
12 files changed
+98 -56

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ end
local function find(label, search_fn)
last_view, last_sel = core.active_view,
{ core.active_view.doc:get_selection() }
local text = last_view.doc:get_text(unpack(last_sel))
local text = last_view.doc:get_text(table.unpack(last_sel))
found_expression = false
core.command_view:set_text(text, true)