Vim plugin youcompleteme error message

Each time I write new python *.py source code, the following error message appears:

 Error detected while processing BufRead Auto commands for"*.py": E518:Unknow option:set E28:No such highlight group name: BadWhitespace 

How can i fix this?

Before I typed this question, I changed the _vimrc file to match this message , but the error message remains. Even worse, another error message occurs:

The ycmd server SHUT DOWN(restart with':YcmRestartSever').YCM core library not detected;you need to compile YCM before using it. Follow the instructions in the documentation.

I am a new Gvim user and I am using gVim 8.0 on Windows 10. I set up my python development environment by searching the web and I installed the YouCompleteMe plugin via Vundle, but now it’s difficult for me to compile YCM.

+6
source share
1 answer

YCM depends on ycmd to do the actual work. ycmd is a compiled service running in the background, so you need to compile it for it to work.

The basic installation procedure is to open a shell / command line for your OS, cd paste into the YouCompleteMe vim plugin directory and run ./install.py there to compile it. If you need this for languages ​​other than Python, run ./install.py --help and find all the additional flags you need to add to enable support for the languages ​​you want to use.

The above assumes that you have read the YCM installation guide and installed the necessary dependencies. There are two guides relevant to your case, and they are fairly detailed and clearly written:

+3
source

All Articles