Yochem van Rosmalen
7b2119dbd9
fix(exrc): exrc knows its own location #34638
...
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()`.
(cherry picked from commit f7c939fa7a )
2025-07-01 12:53:39 +02:00
..
2025-06-28 17:06:05 +00:00
2025-03-11 07:22:20 -07:00
2025-03-12 16:49:36 +08:00
2025-07-01 12:53:39 +02:00
2025-06-27 00:59:40 +07:00
2025-06-06 03:20:45 +00:00
2025-03-19 10:24:51 +01:00
2025-07-01 12:53:39 +02:00
2025-02-20 12:10:13 +00:00
2025-05-13 02:35:41 +00:00
2025-03-24 16:45:36 +01:00
2024-10-15 20:50:21 +02:00
2022-03-13 04:52:45 +00:00
2025-06-23 17:04:55 +00:00
2025-06-28 09:37:37 +00:00
2025-02-26 16:54:37 +00:00
2023-08-13 13:25:10 +01:00
2025-04-28 00:01:50 +07:00
2024-12-06 20:57:21 +08:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2025-03-09 17:13:52 +08:00
2024-10-14 09:27:29 +08:00
2022-10-13 05:48:12 -07:00
2025-05-30 11:39:24 +02:00
2025-04-27 23:20:07 +00:00
2019-03-11 21:00:12 +01:00
2025-02-12 11:01:06 +01:00
2025-03-09 17:13:52 +08:00
2024-07-02 13:05:16 +02:00