Vim color configuration is invalid and all white

  question, vim

This is my color file. I added lucius.vim to it.
图片描述

This is elflord, the color of vim, which shows normal.
图片描述

After 66 lines are changed to lucius for saving, the reopened text is all white.
图片描述

How to solve it?

The custom color file should not be put into the system share directory (/usr/share/vim/vim74/colors/), if you have to put it into this directory, I estimate that you need to log off again before vim can read the newly added color configuration file.

Recommendations:

Look at your vimrc, you are already using Vundle management plug-in, so just use Vundle to help you download the color profile.

Plugin 'jonathanfilip/vim-lucius'

Then execute:

:PluginInstall

In this way, after restarting vim, the new configuration file will take effect without logging off again.