jyn
837faf7065
fix(editor): respect [+cmd] when executing :drop #33339
...
Problem:
Normally, `:drop +41 foo.txt` will open foo.txt with the cursor on line
41. But if foo.txt is already open, it instead is a no-op, even if the
cursor is on a different line.
Steps to reproduce:
nvim --clean foo.txt
:drop +30 foo.txt
Solution:
Handle +cmd in ex_drop().
(cherry picked from commit 3647b821ea
)
2025-04-08 13:47:08 +00:00
..
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2025-03-14 09:12:35 +00:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2025-04-08 13:47:08 +00:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-07-14 06:12:42 +08:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-09-02 20:19:50 +02:00
2024-11-14 12:40:57 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2025-02-28 18:21:08 +08:00
2025-02-26 23:06:22 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2025-02-28 18:21:08 +08:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2025-01-04 16:48:00 -08:00
2024-04-23 18:17:04 +02:00