Use per-layout default_cmd if set. (Issue #5)

This commit is contained in:
Xinhao Yuan 2020-11-22 14:59:43 -05:00
parent b6c96e8338
commit 9fa3d500c3
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ function module.create(args_or_name, editor, default_cmd)
regions_cache = {}, regions_cache = {},
} }
if instances[name].cmd == nil then if instances[name].cmd == nil then
instances[name].cmd = default_cmd instances[name].cmd = args.default_cmd
end end
end end
return instances[name] return instances[name]