Giter Site home page Giter Site logo

Works in neovim but not in vim. about vira HOT 5 OPEN

n0v1c3 avatar n0v1c3 commented on May 30, 2024
Works in neovim but not in vim.

from vira.

Comments (5)

xbot avatar xbot commented on May 30, 2024 1

@n0v1c3 Thank you very much. I finally found what the problem is.

The reason is, my vim uses a python3 installed by homebrew, but the shell runs the one installed by pyenv.

If it is possible that the install.sh find the real python installation used by vim before pip install jira, I think new users won't be bothered by this problem again.

from vira.

n0v1c3 avatar n0v1c3 commented on May 30, 2024

@xbot I hope the day is a good one.

These are always my favorite ones to hunt down on as it does appear to work on vim still.

I know it is worth a check of your whereis vim command and find out what the priority is. It may not be the same place that is getting updates anymore. Try run each one with full paths and see if there is a difference.

Issue #43 also is worth a look. We just kept talking until he got it to work. Also, give the dev branch a try if there is a difference there for you I will do a quick cleanup on that and merge to master.

I am definitely a vim user so I usually break the neovim without my double checking.

from vira.

xbot avatar xbot commented on May 30, 2024

@n0v1c3 Thanks for your answer.

I tried these steps but the problem is still there.

The vim executable being used is the newest version installed by homebrew, not the system one of MacOS.

The dev branch works the same as master.

Issue #43 is for neovim, I find nothing helpful through it.

Another weird thing is, on my Macbook Pro, the problem is the other way around. Vira works in vim but not in neovim.

from vira.

n0v1c3 avatar n0v1c3 commented on May 30, 2024

@xbox,

I think Mac is telling you to upgrade all systems to Pro now. 😁

If you want to dive in a bit with me. There is a function inside autoload that imports Vira. This function is where a path is added along with the import of the python side, vira#_init_python().

Take a look there and make sure it is at least getting these and the paths make sense. If you take of the silent! here you may get some more errors or simply echo some values.

from vira.

n0v1c3 avatar n0v1c3 commented on May 30, 2024

@xbot I am glad to hear this one.

I am going to keep this issue open and it will most likely end up with a VIRA tag beside it so it can simply go away.

from vira.

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.