Files
neovim/runtime/lua/vim
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-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-17 07:14:25 -07:00
2025-06-06 15:36:48 +01:00
2025-03-15 15:00:44 +01:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-06-14 17:24:36 +02:00