AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 350 forks source link

editor: add FileNamePattern option #220

Closed orymate closed 5 years ago

orymate commented 5 years ago

You may want to specify the file name pattern for the temporary file created to activate the proper syntax highlighting settings in the user's editor automatically.

AlecAivazis commented 5 years ago

Thanks for the contribution @orymate!

In general, I think the feature makes a lot of sense. Looking forward to getting this merged.

AlecAivazis commented 5 years ago

Thanks!