aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2025-04-08 08:54:32 -0400
committerGitHub <noreply@github.com>2025-04-08 05:54:32 -0700
commit3647b821ea69ea095ccc4bf8c265df474333a5d5 (patch)
tree626ae9dfd2fda5fb8fb150a1ea2f72926240c002 /runtime/lua/vim/_meta/options.lua
parent5b1561bb717eae8781ff62646c675c7e842e4444 (diff)
downloadrneovim-3647b821ea69ea095ccc4bf8c265df474333a5d5.tar.gz
rneovim-3647b821ea69ea095ccc4bf8c265df474333a5d5.tar.bz2
rneovim-3647b821ea69ea095ccc4bf8c265df474333a5d5.zip
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().
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions