'_immutable' => '1',
'schemas' => {},
}
- }
+ },
+ 'config-version' => '2',
};
#
sub _colorpair {
my ($fg, $bg) = @_;
+ $fg = defined($fg)?$fg:'default';
+ $bg = defined($bg)?$bg:'default';
+
return $remote_api->{color}->($fg, $bg);
}
my $path = shift;
my $value = shift;
- unless($remote_api->{config_has}->($path)) {
- $remote_api->{config_set}->($path, $value);
+ unless(_config_has($path)) {
+ _config_set($path, $value);
}
}