Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't get vundle work #554

Closed
EricPeng1027 opened this issue Jan 16, 2015 · 4 comments
Closed

can't get vundle work #554

EricPeng1027 opened this issue Jan 16, 2015 · 4 comments

Comments

@EricPeng1027
Copy link

When I check the scriptnames, vundle hasn't been loaded.
Then I :source vundle.vim , I get messages like this

Error detected while processing /home/doubi/.vim/bundle/Vundle.vim/autoload/vundle.vim:
line 6:
E492: Not an editor command: ^M
line 9:
E182: Invalid command name
line 10:
E492: Not an editor command: ^M
line 12:
E182: Invalid command name
line 13:
E492: Not an editor command: ^M
line 15:
E182: Invalid command name
line 16:
E492: Not an editor command: ^M
line 18:
E182: Invalid command name
line 19:
E492: Not an editor command: ^M
line 21:
E182: Invalid command name
line 22:
E492: Not an editor command: ^M
line 24:
E182: Invalid command name
line 25:
E492: Not an editor command: ^M
line 28:
E492: Not an editor command: ^M
line 35:
E492: Not an editor command: ^M
line 44:
E492: Not an editor command: ^M
line 46:
E15: Invalid expression: (has('signs'))^M
line 84:
E171: Missing :endif

But I havn't edited it at all.

@maljub01
Copy link

Looks like the file is using Windows line endings. You should be able to fix this by converting them to unix line endings using dos2unix:

dos2unix /home/doubi/.vim/bundle/Vundle.vim/autoload/vundle.vim

@jdevera
Copy link
Contributor

jdevera commented Feb 20, 2015

@MadDooggy did you get this solved?

@jdevera
Copy link
Contributor

jdevera commented Mar 2, 2015

No news, and looks like a non-vundle issue. Feel free to comment if you need more help, or reopen if you still think it's a Vundle thing.

@jdevera jdevera closed this as completed Mar 2, 2015
@juicejuice
Copy link

juicejuice commented May 4, 2018

I had this exact issue on MacVim, you have to update your .gitconfig and disable autocrlf. I had set autocrlf=true for another project I'm working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants