summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorYochem van Rosmalen <git@yochem.nl>2025-06-29 17:19:10 +0200
committerGitHub <noreply@github.com>2025-06-29 10:19:10 -0500
commitf7c939fa7af9744bcb6d79100a7e126f7e9c8f5c (patch)
tree9e093432a76e557973923009ad7a64251384d0a6 /runtime/lua/vim/_editor.lua
parent2f95abddfaf8921555a7e252fc77ed26cbb4de5c (diff)
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()`.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions