LintaoAmons / scratch.nvim

Create temporary playground files effortlessly. Find them later without worrying about filenames or locations.
Other
225 stars 9 forks source link

`ScratchWithName` does not allow to select type #32

Closed januz closed 6 months ago

januz commented 6 months ago

Just ran across your plugin and it looks great! I'm having the following issue though: When I use ScratchWithName, I can enter the name but I'm not offered the menu to select the file type. Is that the expected behavior?

LintaoAmons commented 6 months ago

Hi, you can type in any postfix when you write your filename

e.g.: myfilename.md will just create a file with md as it's postfix, then it should be a markdown file.

januz commented 6 months ago

Okay, that makes sense! Thank you