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-28 09:40:24 -07:00
2025-03-28 14:45:01 +08:00
2025-05-16 10:49:40 +02:00
2025-06-29 10:19:10 -05:00
2025-06-19 11:10:38 +02:00
2025-06-06 07:47:55 +08:00
2025-06-17 06:47:05 +08:00
2025-06-29 10:19:10 -05:00
2025-04-27 22:06:16 +08:00
2025-05-22 03:40:08 -07:00
2025-05-03 11:29:34 +02:00
2024-10-15 20:50:21 +02:00
2022-03-13 04:52:45 +00:00
2025-06-28 00:13:57 +02:00
2025-06-28 07:42:51 +00:00
2025-05-02 09:28:50 +02:00
2023-08-13 13:25:10 +01:00
2025-05-02 09:28:50 +02:00
2025-04-27 08:11:02 -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
2025-05-02 09:28:50 +02: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
2025-06-05 09:19:22 +08:00
2022-10-13 05:48:12 -07:00
2025-03-26 14:48:09 +01:00
2025-04-27 15:49:00 -07:00
2019-03-11 21:00:12 +01:00
2025-04-29 14:11:55 +08:00
2025-03-09 17:13:52 +08:00
2024-07-02 13:05:16 +02:00