Skip to content

Commit ff71e07

Browse files
committed
Add core.editor key
1 parent 7549559 commit ff71e07

File tree

1 file changed

+3
-0
lines changed
  • gix/src/config/tree/sections

1 file changed

+3
-0
lines changed

gix/src/config/tree/sections/core.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ impl Core {
2222
/// The `core.disambiguate` key.
2323
pub const DISAMBIGUATE: Disambiguate =
2424
Disambiguate::new_with_validate("disambiguate", &config::Tree::CORE, validate::Disambiguate);
25+
/// The `core.editor` key.
26+
pub const EDITOR: keys::Executable = keys::Executable::new_executable("editor", &config::Tree::CORE);
2527
/// The `core.fileMode` key.
2628
pub const FILE_MODE: keys::Boolean = keys::Boolean::new_boolean("fileMode", &config::Tree::CORE);
2729
/// The `core.ignoreCase` key.
@@ -102,6 +104,7 @@ impl Section for Core {
102104
&Self::CHECK_STAT,
103105
&Self::DELTA_BASE_CACHE_LIMIT,
104106
&Self::DISAMBIGUATE,
107+
&Self::EDITOR,
105108
&Self::FILE_MODE,
106109
&Self::IGNORE_CASE,
107110
&Self::FILES_REF_LOCK_TIMEOUT,

0 commit comments

Comments
 (0)