Victor Blanchard
d337814906
feat: ":write ++p" creates parent dirs #20835
...
- `:write ++p foo/bar/baz.txt` should create parent directories `foo/bar/` if
they do not exist
- Note: `:foo ++…` is usually for options. No existing options have
a single-char abbreviation (presumably by design), so it's safe to
special-case `++p` here.
- Same for `writefile(…, 'foo/bar/baz.txt', 'p')`
- `BufWriteCmd` can see the ++p flag via `v:cmdarg`.
closes #19884
2022-11-06 19:31:50 -08:00
..
2022-07-07 04:47:18 +08:00
2022-07-27 20:59:43 +08:00
2021-09-19 02:29:37 -07:00
2022-09-30 09:53:52 +02:00
2021-09-19 02:29:37 -07:00
2021-09-17 09:16:40 -07:00
2021-09-17 09:16:40 -07:00
2022-11-05 21:38:36 +08:00
2022-09-12 14:56:42 +08:00
2022-05-21 23:07:34 +02:00
2022-10-27 13:07:51 +08:00
2021-09-17 09:16:40 -07:00
2022-01-29 15:19:29 -05:00
2021-09-17 09:16:40 -07:00
2021-09-17 09:16:40 -07:00
2022-04-26 20:58:25 -07:00
2021-09-17 09:16:40 -07:00
2022-08-23 10:38:53 +08:00
2022-09-30 09:53:52 +02:00
2022-03-27 10:25:55 -07:00
2022-08-05 08:32:54 +08:00
2022-09-26 17:43:23 +08:00
2021-09-17 09:16:40 -07:00
2021-09-19 02:29:37 -07:00
2021-09-17 09:16:40 -07:00
2022-04-25 16:30:20 +02:00
2022-11-05 12:26:17 +08:00
2021-09-17 09:16:40 -07:00
2021-09-17 09:16:40 -07:00
2022-04-26 11:38:58 +08:00
2022-06-23 10:34:02 +03:00
2021-12-15 22:40:10 +08:00
2022-06-30 04:16:46 -07:00
2022-04-26 11:38:58 +08:00
2021-09-19 02:29:37 -07:00
2022-08-13 21:31:00 +08:00
2021-09-19 02:29:37 -07:00
2022-09-30 21:08:45 +06:00
2022-09-15 12:13:43 +02:00
2021-09-19 02:29:37 -07:00
2021-09-17 09:16:40 -07:00
2021-09-17 09:16:40 -07:00
2022-11-06 19:31:50 -08:00