V
V
Vladislav Khvostov2016-10-02 15:00:00
linux
Vladislav Khvostov, 2016-10-02 15:00:00

How to fix an error when starting vim?

When I start vim I see this:
Error detected while processing /Users/khvostov/.vimrc:
line 102:
E484: Can't open file /usr/local/share/vim/syntax/syntax.vim
Warning: Cannot find word list "en .utf-8.spl" or "en.ascii.spl"
Press ENTER or type command to continue
Please tell me how to fix it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
exenza, 2016-10-02
@exenza

1. override runtime in .vimrc

:let $VIMRUNTIME=',/usr/share/vim/myVim'
:let $VIMRUNTIME='/usr/share/vim/myVim'

2. or you can create a symlink to /usr/local/share/vim -> $VIMRUNTIME
3. reinstall correctly
as an option, this is how you can install vim in /home/username/myVim/:
all vim files in this case will be in the home directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question