glepnir
44770bb924
fix(cmd): ++p, ++edit should match "word" boundary #39146
...
Problem: `:write ++patate foo` doesn't error out, instead it turns on
mkdir_p and uses "atate foo" as the filename. Same with ++edit.
The parser just does strncmp without checking what comes after.
Solution: require the next char after the option name to not be a
letter
2026-04-22 04:43:07 -04:00
..
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2026-04-20 14:16:41 -04:00
2026-04-20 14:16:41 -04:00
2024-11-14 12:40:57 +01:00
2026-04-20 14:16:41 -04:00
2024-11-14 12:40:57 +01:00
2025-04-08 05:54:32 -07:00
2026-04-20 14:16:41 -04:00
2024-04-23 18:17:04 +02:00
2026-04-20 14:16:41 -04:00
2026-04-21 11:38:15 +00:00
2024-04-23 18:17:04 +02:00
2025-04-27 09:46:53 -07:00
2026-04-20 14:16:41 -04:00
2026-04-20 14:16:41 -04:00
2026-04-10 11:08:26 -05:00
2026-01-09 01:31:00 +00:00
2026-04-20 14:16:41 -04:00
2026-04-21 12:46:01 +02:00
2025-05-04 11:22:57 -04:00
2026-03-20 23:30:09 +01:00
2026-03-11 13:39:39 -04:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2026-02-03 08:31:37 -05:00
2025-05-17 06:35:20 +08:00
2024-09-02 20:19:50 +02:00
2026-04-20 14:16:41 -04:00
2024-04-23 18:17:04 +02:00
2026-04-20 14:16:41 -04:00
2026-02-08 09:47:02 -05:00
2026-04-20 14:16:41 -04:00
2026-04-09 04:11:32 +00:00
2026-04-20 14:16:41 -04:00
2026-02-18 15:56:50 +08:00
2026-04-20 14:16:41 -04:00
2026-01-21 02:18:33 +00:00
2024-04-23 18:17:04 +02:00
2026-04-22 04:43:07 -04:00
2025-01-04 16:48:00 -08:00
2024-04-23 18:17:04 +02:00