Comments (12)
https://www.reddit.com/r/neovim/comments/58nrwv/neovim_api_comparison_with_vim_channels/
from vim-import-js.
It turned out it is plugin manager.
junegunn/vim-plug this is actually popular one.
https://github.com/junegunn/vim-plug
Can we consider supporting this?
Thanks!
from vim-import-js.
How did you determine that it was the plugin manager causing the problem? From your error message it looks to me like you are using a version of Vim that is too old and doesn't support the Vim features we are using here. What version of Vim are you using?
from vim-import-js.
I don't know if anyone has tested vim-import-js
with neovim. Since the job control implementations have diverged, it seems unlikely to work without a little bit of extra work.
from vim-import-js.
@lencioni I maybe wrong but I have almost same setup with different plugins manager. The one with other than vim-plug seemed working fine.
and as @tdooner said, it can be neovim. I'll put an update on this when I get a chance to look at.
Thank you all.
from vim-import-js.
Same problem here with vim 7.4.898 and neovim 0.1.2, using Vundle.
from vim-import-js.
Same problem with nvim 0.1.7 using vim-plug
.
from vim-import-js.
Same problem with nvim 0.1.7 using vim-plug.
from vim-import-js.
Same problem with nvim 0.1.7 using vim-plug.
from vim-import-js.
Sorry for leaving so many comments unanswered here. It looks like neovim/neovim#5520 is relevant to the issue. Basically, neovim doesn't support the same channel interface as vim 8 does. If anyone is willing to take a stab at making the import-js plugin work for neovim, I'd be delighted to review a PR! If not, I'll try to get to it at a later time.
from vim-import-js.
I read the reddit thread on Neovim API comparison with Vim channels. Do you know how plugins are supposed to work with both Neovim and Vim? Do you have to do a check to see if it's running in Neovim and do one thing, or if it's in Vim, do another thing instead?
from vim-import-js.
I don't know to be honest, but it looks like if has('nvim')
might do the trick. neovim/neovim#1931
We could also look into some kind of feature detection instead of detecting what editor is running.
Do you have a link to the reddit thread?
from vim-import-js.
Related Issues (20)
- doesn't detect undeclared React components HOT 4
- Prompt can have bad interactions with some other plugins, like Ale HOT 4
- Restoring cursor position can be incorrect if cursor starts inside import block HOT 1
- Works only once in macvim HOT 2
- importjs process not running when outside of react directory HOT 4
- Getting random failures in neovim HOT 12
- Unresolved import error in neovim HOT 2
- Add support for import of styles.css HOT 2
- Add option to not add semicolons after import HOT 2
- Allow to exclude some paths from import lookup HOT 2
- Executable path is not correct for neovim on Windows
- E387: Match is on current line HOT 1
- importjs process not running HOT 8
- Typo in command mapping? HOT 2
- import-js can't find inspect from Node's util module HOT 3
- Importjs process starts up unnecessarily / lazy load HOT 3
- does not work well with NVM HOT 7
- vim-Import-JS can update wrong buffer if import-js is slow
- Error at the beginning on :ImportJSGoto (and probalby others) command HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-import-js.