GithubHelp home page GithubHelp logo

Pathogen warning on vim startup about vimrc HOT 7 CLOSED

amix avatar amix commented on July 24, 2024
Pathogen warning on vim startup

from vimrc.

Comments (7)

karlcoelho avatar karlcoelho commented on July 24, 2024

Just open '/.vim_runtime/vimrcs/plugins_config.vim' and change

call pathogen#infect('~/.vim_runtime/sources_forked')
call pathogen#infect('~/.vim_runtime/sources_non_forked')

to:

call pathogen#infect('~/.vim_runtime/sources_forked/{}')
call pathogen#infect('~/.vim_runtime/sources_non_forked/{}') 

then just restart vim or mvim.

from vimrc.

 avatar commented on July 24, 2024

I mean, clearly that's doing what the warning says :) However, presumably the {}s are absent for a reason?

Also, as I indicated above, adding them seems to cause certain modules not to be loaded.

from vimrc.

karlcoelho avatar karlcoelho commented on July 24, 2024

@dijkstracula so what would the exact solution for it be then?

would this work?

call pathogen#infect('~/.vim_runtime/sources_forked/*')
call pathogen#infect('~/.vim_runtime/sources_non_forked/*') 

from vimrc.

 avatar commented on July 24, 2024

That's an excellent question - I don't know the exact solution, hence why I opened an issue instead of writing a fix and issuing a pull request. Adding * "fixes" it, as does {} - IIRC I tried adding a splat but saw the same "not all plugins are loaded" issue; I'd have to dig a bit to verify it.

@karlcoelho, I take it you're not getting these warnings on startup? What's your setup / vim configuration? If it's a issue outside of amix' vimrc work, in the sense that it just works for you, then I ought to try and fix the root cause for me.

from vimrc.

karlcoelho avatar karlcoelho commented on July 24, 2024

@dijkstracula I had the exact same problem. My entire vim config is based of amix's .vimrc
All I did was add the exact solution mentioned in the error to the '/.vim_runtime/vimrcs/plugins_config.vim' file. All the plugins work as expected, and adding plugins also work, which suggest that pathogen.vim is working just as it's supposed, alongside amix's setup.

I'd recommend the method I mentioned above, to fix your problem.

from vimrc.

 avatar commented on July 24, 2024

Will do, I'll issue a pull request (correctly, this time!)

from vimrc.

amix avatar amix commented on July 24, 2024

This should already be fixed in the head of master πŸ‘

from vimrc.

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.