Questions tagged [compile-vim]
Creating Vim (or any other vi-like editor) from source. Please specify the operating system you use.
42 questions
1
vote
1
answer
161
views
How do I make vim command case-insensitive by modifying vim?
I'm trying to use lowercase in vim. I want to modify vim to be case insensitive because uppercase is not ergonomic!
For user defined commands: command! SomeCommand allowed but command! somecommand not....
0
votes
2
answers
140
views
How do I add a built-in command to Vim?
Trying to edit Vim's source code
I googled and googled and only found results for Vimscript command! when I wanted to add a built-in command.
I couldn't find information about EXCMD() until I found ...
0
votes
0
answers
83
views
Can not compile VIM with python support for non-system python
I try to compile VIM with python interpreter enabled.
Yet, I've got Ubuntu 20.04 (can not update easily) with Python 3.8 as system version. I need VIM with Python >3.9.
I installed python3.10 and ...
0
votes
0
answers
93
views
3 tests failed when building vim from source
After a long struggle while building vim from source, I did make test and all tests passed except 3. Here is the output
-------------------------------
Executed: 6847 Tests
Skipped: 68 Tests
...
0
votes
0
answers
72
views
building gvim from source
I am in fedora-41 beta, and getting error in running gvim as:
:py3 import sys; print(sys.version)
E448: Could not load library function _PyObject_NextNotImplemented
This is by turn, making vim ...
1
vote
1
answer
240
views
Can't compile Neovim with custom GCC path
I am on a CentOS 7.9 (end of life distribution) server with no admin rights, and the system GCC version (4.8) is incompatible with building Neovim.
So I installed GCC 14.2 and put it in my PATH as ...
1
vote
1
answer
166
views
Trouble trying to compile Vim on Rocky Linux
I cloned the github Vim repository, cd'ed into the vim directory and ran make but got this error:
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic ...
1
vote
1
answer
370
views
Compile error due to being unable to find ncurses library when compiling in MSYS2 environment
I am trying to compile Vim from source with Ruby support for the command-t plugin in an MSYS2 environment (using the UCRT64 shell). So I followed the instructions of the Vim website and used git to ...
0
votes
1
answer
142
views
How do I read this output from `vim --version`?
I'm not sure how to interpret vim --version output; what do the various components mean?
Here's an example:
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 03 2024 02:45:42)
Included patches: 1-16
...
0
votes
0
answers
66
views
Compile Neovim failed for "unprotected error in call to Lua API (26)"
Run make CMAKE_BUILD_TYPE=RelWithDebInfo got following errors:
With little knowledge of lua, I have no idea how to solve this...
touch build/.ran-cmake
ninja -C build
ninja: Entering directory `build'...
3
votes
1
answer
1k
views
Compiling VIM from source with Python3 enabled not working after upstream image rolled from Python 3.9 to 3.10
I have a standard development environment I build via scripts in Github Codespaces to work on projects that come up.
Up until recently, I had been compiling vim from source to upgrade the VIM 8 that ...
2
votes
1
answer
137
views
Why is my Vim build failing on WSL?
I'm running Ubuntu 20.04.4 under WSL2 on Windows 11. I've cloned https://github.com/vim/vim.git in the environment. (The latest commit is tagged as v9.0.0260.) When I go to the directory and do this .....
0
votes
0
answers
68
views
Building from source ,perl ruby lua and python support are not activating, why?
Here are the things I have :
The configure snippet I am using :
./configure --with-features=huge --enable-rubyinterp=yes --with-ruby-command=/usr/bin/ruby ---enable-pythoninterp=yes --with-python-...
0
votes
0
answers
657
views
Building gvim inside WSL 2 Ubuntu
Details of what already exists inside WSL 2 Ubuntu 20.04 inside Microsot Windows 11:
$ vi --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
Included patches: 1-2269, 3612, ...
0
votes
0
answers
74
views
gvim menus are too big
Many compiler, install module, gyrations later, I was finally able to get vim with the gui to compile and execute.
However, the menus, both at the top of the main screen, and the pull down menus are ...