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-27 12:13:01 -07:00
2025-05-06 05:15:31 -07:00
2025-06-29 10:19:10 -05:00
2024-06-04 06:06:02 -07:00
2025-06-18 14:37:06 +02:00
2025-01-05 12:28:01 +01:00
2025-06-29 14:56:44 +00:00
2025-06-27 19:17:41 +00:00
2025-03-30 07:02:59 -07:00
2025-06-25 06:33:58 -07:00
2025-06-06 15:36:48 +01:00
2024-11-17 13:31:24 -08:00
2025-06-06 15:36:48 +01:00
2025-06-29 10:19:10 -05:00
2025-06-13 07:49:21 -07:00
2025-06-27 15:54:32 +02:00
2025-06-06 15:36:48 +01:00
2025-05-27 13:01:10 +02:00
2024-10-21 00:54:43 +02:00
2025-02-23 07:51:12 -08:00
2025-03-31 16:51:18 +01:00
2025-06-25 15:15:19 -07:00
2024-10-21 11:32:06 +01:00
2025-06-18 10:26:28 -07:00
2025-06-06 15:36:48 +01:00
2025-06-19 11:10:38 +02:00
2025-06-17 07:14:25 -07:00
2025-05-10 14:42:48 -07:00
2025-06-03 06:36:44 -07:00
2025-04-27 10:32:25 -07:00
2025-06-06 15:36:48 +01:00
2025-01-27 16:37:50 +00:00
2025-03-15 15:00:44 +01:00
2024-10-21 11:32:06 +01:00
2025-06-06 15:36:48 +01:00
2025-06-26 15:18:20 -04:00
2024-02-03 16:53:41 +01:00
2025-02-10 03:04:01 -08:00
2025-06-06 15:36:48 +01:00
2025-06-06 15:36:48 +01:00
2025-04-23 10:58:22 +02:00
2025-03-05 21:28:05 -06:00
2025-06-06 15:36:48 +01:00
2025-06-14 17:24:36 +02:00
2025-06-18 03:20:18 -07:00
2025-01-27 16:37:50 +00:00
2025-04-11 03:15:18 -07:00