Files
neovim/runtime/lua
Yochem van Rosmalen f7c939fa7a fix(exrc): exrc knows its own location (#34638)
fix(exrc): lua exrc files know their location

Problem:
'exrc' files are inherently bound to their location / workspace and
therefore require to "know" their location on the filesystem. However,
currently using `debug.getinfo(1, 'S')` returns `"<nvim>"`.

Solution:
Include the filepath as chunkname in `loadstring()` and `nlua_exec()`.
2025-06-29 10:19:10 -05:00
..
2025-05-17 10:59:14 +02:00
2025-02-09 18:10:54 +01:00
2025-06-06 15:36:48 +01:00