Use per-layout default_cmd if set. (Issue #5)
This commit is contained in:
parent
b6c96e8338
commit
9fa3d500c3
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue