diff options
| author | Luuk van Baal <luukvbaal@gmail.com> | 2025-04-22 21:35:10 +0200 |
|---|---|---|
| committer | luukvbaal <luukvbaal@gmail.com> | 2025-04-23 10:58:22 +0200 |
| commit | 019b2050e13583f8a26dc5dc1c7e20ca07bb51e5 (patch) | |
| tree | 6011c3f5d7ef7e2d4ee5657d9aaa42ac197a6741 /runtime/lua/vim/_meta/api.lua | |
| parent | 8d68dbf906f9559dfd6e8cb1dbc1bb26fffca74d (diff) | |
| download | rneovim-019b2050e13583f8a26dc5dc1c7e20ca07bb51e5.tar.gz rneovim-019b2050e13583f8a26dc5dc1c7e20ca07bb51e5.tar.bz2 rneovim-019b2050e13583f8a26dc5dc1c7e20ca07bb51e5.zip | |
fix(snippet): use <cmd>call cursor() for visual range
Problem: Change applied in d3e495ce uses a byte-offset where a virtual
column is expected.
Solution: Set the cursor directly through a <Cmd> mapping, while making
sure the commands are ordered correctly by adding them to the
type-ahead buffer.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions