ujuc / ujuc.github.io

My blog
https://ujuc.github.io
2 stars 1 forks source link

vim 빌드 하기 #21

Closed ujuc closed 7 years ago

ujuc commented 7 years ago

https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source https://www.zaiste.net/2013/05/compiling_vim_with_ruby_and_python_support_on_ubuntu/ http://stackoverflow.com/questions/29745648/installing-jedi-vim-fails-vim-says-wrongly-that-python-is-not-compiled

Error: jedi-vim failed to initialize Python: jedi#setup_py_version: Vim(py3file):Traceback (most recent call last): (in function jedi#init_python[3]..<SNR>72_init_python[50]..jedi
#setup_py_version, line 18)
ujuc commented 7 years ago

mac 에서 brew로 빌드 옵션을 추가하기위해서는 다음 내용으로 찾아서 하면된다.

brew options vim
--with-client-server
    Enable client/server mode
--with-custom-perl
    Build with a custom Perl instead of the Homebrew version.
--with-custom-python
    Build with a custom Python 2 instead of the Homebrew version.
--with-custom-ruby
    Build with a custom Ruby instead of the Homebrew version.
--with-lua
    Build vim with lua support
--with-luajit
    Build with luajit support
--with-mzscheme
    Build vim with mzscheme support
--with-override-system-vi
    Override system vi
--with-python3
    Build vim with python3 instead of python[2] support
--with-tcl
    Build vim with tcl support
--without-nls
    Build vim without National Language Support (translated messages, keymaps)
--without-perl
    Build vim without perl support
--without-python
    Build vim without python support
--without-ruby
    Build vim without ruby support
--HEAD
    Install HEAD version