Last active
July 25, 2024 03:39
-
-
Save mattia72/bec646c1087757d1424e41fa7bd164c2 to your computer and use it in GitHub Desktop.
Build Vim with lua support in MSYS2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/Alexpux/MSYS2-packages/issues/16 | |
Download via pacman ncurses-devel ruby python2 python3 and lua source from web | |
Download and compile lua5.2 (cd src && make mingw && cd .. && make install ) | |
For python3 support : download libint and make it visible by renaming msys-intl-8.dll to libintl.dll and putting it in /usr/lib | |
Run the following in vim/src: | |
./configure --prefix=/usr --with-tlib=ncursesw --enable-luainterp --with-lua-prefix=/usr/local --disable-gui --disable-tclinterp --enable-cscope --without-x CPPFLAGS="${CPPFLAGS} -I/usr/include/ncursesw" --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-pythoninterp=dynamic --enable-multibyte && make | |
cd .. && make install | |
run vim and do :version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment