commit 3eefe3787108ac2f8f6d52defa817d0d109408b6
parent ff792f8e690854aaae9be627c583b596faf137c0
Author: przepompownia <przepompownia@users.noreply.github.com>
Date: Mon, 3 Nov 2025 18:48:26 +0100
docs(dev_tools): fix how to properly run not yet installed build
Problem: running ./build/bin/nvim without make install
- doesn't respect local changes in ./runtime,
- includes the path where Nvim would be installed,
- ignores changes in precompiled Lua modules (like .../vim/_editor.lua)
Solution:
- use VIMRUNTIME=./runtime,
- use --luamod-dev
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/doc/dev_tools.txt b/runtime/doc/dev_tools.txt
@@ -21,7 +21,7 @@ You can start hacking on Nvim in less than 5 minutes:
cd neovim
# (Optional) Build and run Nvim:
make
- ./build/bin/nvim
+ VIMRUNTIME=./runtime ./build/bin/nvim --luamod-dev
3. Run a single test. We will start with "example_spec.lua", which is a real
test that shows how tests are written: >
make functionaltest TEST_FILE=test/functional/example_spec.lua