(mini.misc) FEATURE: implement setup_mkdir_missing().#555
(mini.misc) FEATURE: implement setup_mkdir_missing().#555yamhab wants to merge 1 commit intonvim-mini:mainfrom yamhab:mkdir-missing
setup_mkdir_missing().#555Conversation
|
Thanks for the PR! Sorry, but I don't think this is a good functionality to have. Both in terms of what it provides (performing the check on every Please, open an issue to discuss a feature first prior to creating a PR. This way it might lead to less time wasted on your side. Closing as not planned. |
|
I will update 'CHANGELOG.md' to proper mention you for #554, though. Sorry about that. |
|
@echasnovski What if I were to get the autocommand to run only once using the |
It won't work with a simple
|
If this PR were to be merged, mini.misc will have the
setup_mkdir_missing()function which will automatically create any missing directories needed for saving a file. This is similar to the functionality provided by tidy.nvim. I also made sure it didn't break with netrw URLs, and I wrote it some documentation and tests.