Skip to content

Commit

Permalink
fix: Use md ext to trigger syntax highlighting (#400)
Browse files Browse the repository at this point in the history
Introduced by #398
Related #318
  • Loading branch information
ankitpokhrel committed Jun 23, 2022
1 parent ca38e77 commit e944338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/surveyext/editor_manual.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func edit(editorCommand, fn, initialValue string, stdin io.Reader, stdout io.Wri
// prepare the temp file
pattern := fn
if pattern == "" {
pattern = "survey*.txt"
pattern = "survey*.md"
}
f, err := os.CreateTemp("", pattern)
if err != nil {
Expand Down

0 comments on commit e944338

Please sign in to comment.