0

Whenever I use vim command, I get this error:

Error detected while processing /Users/boss/.vimrc:
line    6:
E484: Can't open file /usr/share/vim/vim73/syntax/syntax.vim
Press ENTER or type command to continue

Whenever I try to do an ls command:

ls: /usr/share/vim/vim73/syntax/: No such file or directory

I found that the directory: /usr/share/vim/vim73/ doesn't exist! However, I found that the I have vim74 instead of vim73 (/usr/share/vim/vim74/).

How do I fix this?

1

Check file /Users/boss/.vimrc in 6 line probably in this line configured connection with syntax.vim from wrong pathy (for example from the old version of vim) I suspect that the problem is caused by an update vim.

You can try update this path to /usr/share/vim/vim74/syntax/syntax.vim or $VIMRUNTIME/syntax/syntax.vim (if it variable correct defined). But pervously check that syntax definition file exists.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.