Giter Club home page Giter Club logo

Comments (10)

totherme avatar totherme commented on September 6, 2024 1

It seems like redacting our manifests causes the issue to go away... But so does commenting out the vim-bosh line in the ~/.vim/Plug.vim :S

from vimfiles.

luan avatar luan commented on September 6, 2024

Do you have an example (redacted) manifest that reproduces the issue?

from vimfiles.

luan avatar luan commented on September 6, 2024

I'd still like to see an example manifest if that's possible @jutkko @totherme.

from vimfiles.

totherme avatar totherme commented on September 6, 2024

It turned out that the problem was running ~/.vim/update instead of cd ~/.vim ; update. The former causes slow bosh manifest parsing times, while the latter works fine.

We've updated the scripts that update all our dev boxes each morning accordingly, but the README still recommends the other.

from vimfiles.

luan avatar luan commented on September 6, 2024

That doesn't make any sense o.O

The script does the same thing regardless of where it's ran from. And it should have no effect in how fast anything is. Can I get that file? I'm still interested in trying to make vim-bosh faster.

from vimfiles.

totherme avatar totherme commented on September 6, 2024

I'll get it to you in a side-channel, since redacting it seems to make the problem go away.

from vimfiles.

totherme avatar totherme commented on September 6, 2024

Hopefully you now have the manifest I sent you by other means. Here's some more info about the problem:

The problem only occurs after running your update script from my home directory. So cd ; ~/.vim/update causes the problem, but cd ~/.vim ; ./update does not. I've also tried cd $ONE_OF_MY_PROJECT_PATHS ; ~/.vim/update, and vim works perfectly fine after that. So it feels like there's something in my home dir that interacts poorly with your update script.

Now is therefore probably a good time to mention our team's home dir setup. On our team, the home directory of each of our machines is a git repo, with a .gitignore file containing one line:

*

We use git add -f to check in various useful config files and scripts. Your scripts live in ~/.vim which is ignored. We do not attempt to submodule your scripts, or anything like that.

from vimfiles.

totherme avatar totherme commented on September 6, 2024

I've just seen the problem again even though my ./update was run from inside the ~/.vim directory -- but I swear it made a difference before!

The manifest I sent you still triggers the problem, and I worked around it this time by commenting out the bosh plugin on line 291 of ~/.vim/Plug.vim

from vimfiles.

totherme avatar totherme commented on September 6, 2024

Just installed nvim to see if it helped -- it doesn't :/

from vimfiles.

luan avatar luan commented on September 6, 2024

Yeah, the bosh plugin is very beta, I didn't expect it to cause problems like this but I'm not surprised it did. I'll have to work on fixing that luan/vim-bosh#4. I'm closing the issue on this repo since it's not directly a problem with the vim config but a problem with the plugin.

from vimfiles.

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.