You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the Debian build, some directories from /home/runner are leaked into the lua package.path and package.cpath. These directories are on the build machine, and should not leaked into the final build.
This is not a sever bug, but would be nice to be fixed in the make script.
By the way, both package.path and package.cpath use the current directory as the first search location. IMHO, it is okay for command-line lua/luajit, but should be removed from the luajit embedded in nvim.
Describe the bug
Under the Debian build, some directories from
/home/runner
are leaked into the luapackage.path
andpackage.cpath
. These directories are on the build machine, and should not leaked into the final build.This is not a sever bug, but would be nice to be fixed in the make script.
By the way, both
package.path
andpackage.cpath
use the current directory as the first search location. IMHO, it is okay for command-line lua/luajit, but should be removed from the luajit embedded in nvim.Steps to reproduce
nvim --clean
:lua print(package.path)
:lua print(package.cpath)
:q
Expected behavior
Directories from the build machine are not included in the lua search path.
Also, the current directory should be removed from the search path as well.
Neovim version (nvim -v)
0.8.2
Vim (not Nvim) behaves the same?
not tested.
Operating system/version
Debian 11
Terminal name/version
urxvt
$TERM environment variable
tmux-256color
Installation
Both build from repo, and install the neovim Debian build.
The text was updated successfully, but these errors were encountered: