Fix call to missing project_files_limit

This commit is contained in:
Francesco Abbate 2021-09-29 22:16:20 +02:00
parent 5421a1d69c
commit 01f6767d98
1 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,7 @@ command.add(nil, {
end,
["core:find-file"] = function()
-- FIXME: core.project_files_limit was removed!
if core.project_files_limit then
if not core.project_files_number() then
return command.perform "core:open-file"
end
local files = {}