diff options
| author | bfredl <bjorn.linse@gmail.com> | 2026-04-23 12:32:08 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2026-04-23 15:37:37 +0200 |
| commit | d50cca5b87e7a85b2a036531ac9720984adf410e (patch) | |
| tree | 34dd7a1679daa9822b8f0e0d37e9118b5e0b9245 /test | |
| parent | a4ad469fb1f935aed6f84cfa9e663ab4f7ca1e02 (diff) | |
fix(build.zig): reunify parser install path
Both for tests and for system wide install, $PREFIX/lib/nvim/parser
is a valid path for tree-sitter parsers. This also brings the build.zig
behavior in line with how we set up the paths in CMakeLists.txt
Diffstat (limited to 'test')
| -rw-r--r-- | test/functional/testnvim.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/testnvim.lua b/test/functional/testnvim.lua index 087752dd27..90c18cc5b7 100644 --- a/test/functional/testnvim.lua +++ b/test/functional/testnvim.lua @@ -20,8 +20,7 @@ local sleep = uv.sleep --- Functions executing in the current nvim session/process being tested. local M = {} -local lib_path = t.paths.test_build_dir .. (t.is_zig_build() and '/lib' or '/lib/nvim') -M.runtime_set = 'set runtimepath^=' .. lib_path +M.runtime_set = 'set runtimepath^=' .. t.paths.test_build_dir .. '/lib/nvim' M.nvim_prog = (os.getenv('NVIM_PRG') or t.paths.test_build_dir .. '/bin/nvim') -- Default settings for the test session. |
