Galooshi / Galooshi/vim-import-js
Restoring cursor position can be incorrect if cursor starts inside import block
Open
bug
- Dominant language
- Vim Script
- Stars
- 159
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
When replacing the buffer we track the cursor position and then simply move it by the number of lines that were added. If you happen to be in the imports block, this can be incorrect.
Contributor guide
Assessment
This issue has not been assessed yet.