
configure -prefix=/usr -enable-luainterp=yes -enable-mzschemeinterp -enable-perlinterp=yes -enable-python3interp=yes -enable-tclinterp=yes -enable-rubyinterp=yes -enable-cscope -enable-terminal -enable-autoservername -enable-multibyte -enable-xim -enable-fontset -with-modified-by=shlian -with-compiledby=shlian -with-python3-config-dir=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu If the above configuration command configures 、 After compiling ,vim Has been unable to support python3, Try the following command : One 、 preparation 1、 install python(ycm Need to use python3.6 Version above, Choose here python3.8.5):ġ.1、 Get into download Catalog :cd downloadġ.3、 decompression : xz -d Python-3.8.5.tar.xz & tar -xvf Python-3.8.5.tarġ.4、 Get into Python-3.8.5 Catalog :cd Python-3.8.5ġ.5、 To configure :./configure -prefix=/usr -enable-shared -enable-optimizations -with-sslġ.6、 Build and install :make -j 8 & sudo make install # After building, Will be installed in /usr/bin Catalogġ.7、 test : Enter at the command line python -version or python3 -version Two 、 install vim8.2+ģ、 Switch to the latest tag:git checkout v # You can use git tag View all tagĤ、 To configure :./configure -prefix=/usr -enable-luainterp=yes -enable-mzschemeinterp -enable-perlinterp=yes -enable-python3interp=yes -enable-tclinterp=yes -enable-rubyinterp=yes -enable-cscope -enable-terminal -enable-autoservername -enable-multibyte -enable-xim -enable-fontset -with-modified-by=shlian -with-compiledby=shlian -with-python3-command=python3

therefore, I decided to write an article that I thought was the simplest in history 、 The most complete tutorial in history comes out. Before many online courses can not teach, rotta, They didn't explain it thoroughly. Up to now ,vim The stable version has arrived 8.2+,ycm(YouCompleteMe For short ) The latest version is quite different from the installation configuration a few years ago.
