Skip to content

Commit 0e4af68

Browse files
committed
fix: Use md ext to trigger syntax highlighting
Introduced by #398 Related #318
1 parent ca38e77 commit 0e4af68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/surveyext/editor_manual.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func edit(editorCommand, fn, initialValue string, stdin io.Reader, stdout io.Wri
4040
// prepare the temp file
4141
pattern := fn
4242
if pattern == "" {
43-
pattern = "survey*.txt"
43+
pattern = "survey*.md"
4444
}
4545
f, err := os.CreateTemp("", pattern)
4646
if err != nil {

0 commit comments

Comments
 (0)