mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
The cursor would change to something else once in the insert mode. If the new name was longer than the old one, the Parser couldn't get the stmt at the wrong cursor position, thus rename failed. Now save the cursor position before entering the insert mode. Then pass the saved position to the 2nd call to the rename().
26 KiB
26 KiB