Support for python3 and lua in vim compilation

when I install vim through source code compilation, I add the following parameters when compiling
. / configure\

--prefix=/usr \
--with-features=huge \
--enable-multibyte \
--enable-cscope=yes \
--enable-perlinterp=yes \
--enable-rubyinterp=yes \
--enable-luainterp=yes \
--enable-python3interp=yes \
--enable-fontset=yes \
--enable-terminal=yes \
--enable-largefile \
--with-lua-prefix=/usr/local/bin \
--with-luajit \
--with-python3-command=python \
--with-python3-config-dir=/usr/local/bin/python3-config \
--with-ruby-command=ruby \
--with-compiledby=$USER \
--disable-gui \
--disable-netbeans \

according to the prompts in the document, after using sudo make & & make install, you can see that there should be a + sign before python3 and lua when you open vim,: version, but why mine is still-

clipboard.png

mac
python3 lua :

clipboard.png

Vim
Jun.22,2021

to add lua and python3 support at compile time, the system needs development libraries for lua and python3.

if you are using macos, it is recommended that you install it with homebrew

Menu