Galooshi / Galooshi/vim-import-js

vim-Import-JS can update wrong buffer if import-js is slow

Open
#47 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
159
Forks
18
PR merge metrics
No merged PRs in 30d

Description

When ImportJS is slow (e.g. I didn't have watchman installed when I created this issue and I had a large mono-repo with a lot of dependencies), vim-import-js can behave badly in 2 ways:

1. It can update the buffer AFTER other changes have been made to it (somewhat acceptable, I can imagine it's harder to know if the buffer has updated)
2. It can update another buffer if a user has moved to this offer buffer by the time the results from import-js come back (which is really weird)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.