Show effective settings in bds-cli config.
This commit is contained in:
1 parent
269e4b0e4a
commit
3739da0984
8 files changed
+198
-51
No files matched your search
@@ -1836,8 +1836,8 @@ impl TuiApp {
|
||||
(
|
||||
"Diff style",
|
||||
"editor.diff_view_style",
|
||||
FieldKind::Enum(&["unified", "split"]),
|
||||
"unified",
|
||||
FieldKind::Enum(&["inline", "side-by-side"]),
|
||||
"inline",
|
||||
),
|
||||
(
|
||||
"Wrap long lines",
|
||||
@@ -2066,7 +2066,7 @@ impl TuiApp {
|
||||
) {
|
||||
fallback
|
||||
} else {
|
||||
engine::settings::get(db.conn(), key)?.unwrap_or(fallback)
|
||||
engine::settings::get_effective(db.conn(), key)?.unwrap_or(fallback)
|
||||
};
|
||||
Ok(SettingField {
|
||||
label: setting_field_label(self.locale, key, label),
|
||||
|
||||
Reference in new issue
Block a user