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 = {},
|
||||
}
|
||||
if instances[name].cmd == nil then
|
||||
instances[name].cmd = default_cmd
|
||||
instances[name].cmd = args.default_cmd
|
||||
end
|
||||
end
|
||||
return instances[name]
|
||||
|
|
Loading…
Reference in New Issue