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
This commit is contained in:
przepompownia authored and Lewis Russell committed 2025-11-19 13:07:32 +00:00
1 parent ff792f8e69
commit 3eefe37871
1 file changed
+1 -1
+1 -1
View File
@@ -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