Git Product home page Git Product logo

Comments (12)

agarrharr avatar agarrharr commented on June 15, 2024 5

https://www.reddit.com/r/neovim/comments/58nrwv/neovim_api_comparison_with_vim_channels/

from vim-import-js.

zirho avatar zirho commented on June 15, 2024

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.

lencioni avatar lencioni commented on June 15, 2024

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.

tdooner avatar tdooner commented on June 15, 2024

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.

zirho avatar zirho commented on June 15, 2024

@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.

brunoti avatar brunoti commented on June 15, 2024

Same problem here with vim 7.4.898 and neovim 0.1.2, using Vundle.

from vim-import-js.

hpurmann avatar hpurmann commented on June 15, 2024

Same problem with nvim 0.1.7 using vim-plug.

from vim-import-js.

agarrharr avatar agarrharr commented on June 15, 2024

Same problem with nvim 0.1.7 using vim-plug.

from vim-import-js.

nicklasnygren avatar nicklasnygren commented on June 15, 2024

Same problem with nvim 0.1.7 using vim-plug.

from vim-import-js.

trotzig avatar trotzig commented on June 15, 2024

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.

agarrharr avatar agarrharr commented on June 15, 2024

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.

trotzig avatar trotzig commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.