Galooshi / Galooshi/vim-import-js

Prompt can have bad interactions with some other plugins, like Ale

Open
#17 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Vim Script
Stars
159
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I am using [Ale](https://github.com/w0rp/ale) for async linting, which can update Vim in a way that messes up import JS when presented with the list of unresolved imports. This leaves Vim in a confusing state. Here's a demonstration:

![import-js-ale](https://user-images.githubusercontent.com/195534/27440047-653a855e-571e-11e7-9f40-121b36c75b01.gif)

I imagine there are other plugins that might have similar interactions.

I wonder if we could fix this by using a nicer prompt. It would be great to use a command-t style prompt where one option is highlighted and I can press enter to select it and use arrow keys to move up and down the list. This would pave the way to add fuzzy text filtering as well, which could be helpful when presented with a lot of options.

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.