Skip to content

execute pathogen#infect() an invalid expression? #202

Open

Description

@ldco2016

I am in a Mac OS and I just added some scripts to get new functionality from my vim editor and when I go back into the vimrc file I continue to get this error:

vim ~/.vimrc
Error detected while processing /Users/danale/.vimrc:
line 12:
E117: Unknown function: pathogen#infect
E15: Invalid expression: pathogen#infect()

I have looked at similar posts here that are not very helpful. Ultimately, I would like to use nerdtree configuration so I can use VIM as my IDE.

Activity

  1. rcrx commented on Apr 16, 2019

    @rcrx

    Is Pathogen in the right PATH?

  2. xbrotwo commented on Mar 7, 2020

    @xbrotwo

    I have the same issue,because I use wget to download:
    in pathogen.vim, it includes some html tags.
    you can fix it on this way:
    git clone https://github.com/tpope/vim-pathogen
    cp /root/vim-pathogen/autoload/pathogen.vim /root/.vim/autoload/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions