Skip to content

Commit 07d98c1

Browse files
committed
Fix openDirInEditor docs to mention parameter
1 parent 1aff302 commit 07d98c1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/Config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ os:
424424
# Whether lazygit suspends until an edit process returns
425425
editInTerminal: false
426426

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

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

pkg/config/app_config_test.go

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ type OSConfig struct {
573573
// [dev] We're naming this `editInTerminal` for backwards compatibility
574574
SuspendOnEdit *bool `yaml:"editInTerminal,omitempty"`
575575

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

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

schema/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@
15451545
},
15461546
"openDirInEditor": {
15471547
"type": "string",
1548-
"description": "For opening a directory in an editor"
1548+
"description": "For opening a directory in an editor. Should contain \"{{dir}}\"."
15491549
},
15501550
"editPreset": {
15511551
"type": "string",

0 commit comments

Comments
 (0)