Skip to content

Commit a42b164

Browse files
committed
Fix openDirInEditor docs to mention parameter
1 parent 9ad8854 commit a42b164

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/Config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ os:
425425
# Whether lazygit suspends until an edit process returns
426426
editInTerminal: false
427427

428-
# For opening a directory in an editor
428+
# For opening a directory in an editor. Should contain "{{dir}}".
429429
openDirInEditor: ""
430430

431431
# A built-in preset that sets all of the above settings. Supported presets

pkg/config/app_config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ os:
555555
# Whether lazygit suspends until an edit process returns
556556
editInTerminal: false
557557
558-
# For opening a directory in an editor
558+
# For opening a directory in an editor. Should contain "{{dir}}".
559559
openDirInEditor: ""
560560
561561
# A built-in preset that sets all of the above settings. Supported presets

pkg/config/user_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ type OSConfig struct {
570570
// [dev] We're naming this `editInTerminal` for backwards compatibility
571571
SuspendOnEdit *bool `yaml:"editInTerminal,omitempty"`
572572

573-
// For opening a directory in an editor
573+
// For opening a directory in an editor. Should contain "{{dir}}".
574574
OpenDirInEditor string `yaml:"openDirInEditor,omitempty"`
575575

576576
// A built-in preset that sets all of the above settings. Supported presets

schema/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@
15431543
},
15441544
"openDirInEditor": {
15451545
"type": "string",
1546-
"description": "For opening a directory in an editor"
1546+
"description": "For opening a directory in an editor. Should contain \"{{dir}}\"."
15471547
},
15481548
"editPreset": {
15491549
"type": "string",

0 commit comments

Comments
 (0)