Olical / aniseed

Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
https://discord.gg/wXAMr8F
The Unlicense
610 stars 28 forks source link

Add a "blessed" way of getting the plugin directory as well as the paths to induvidual source files #34

Closed Olical closed 3 years ago

Olical commented 3 years ago

jlesquembre on Discord asked about this and I think it'd be a great much needed feature! Not sure how to do this yet, so needs some hammock time / RnD.

Olical commented 3 years ago

Added *file* to all module on develop which is a relative path to the original .fnl file that was used to compile that output. So even in pure Lua output you can tell where the code came from.

jlesquembre commented 3 years ago

thanks @Olical !

Olical commented 3 years ago

I don't think this fully answered the original request but I can revisit it 🤔 just wanted to get SOME file info in there for now

On Mon, 3 May 2021, 17:33 José Luis Lafuente, @.***> wrote:

thanks @Olical https://github.com/Olical !

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Olical/aniseed/issues/34#issuecomment-831380020, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACM6XO432URIO2DESKC6ZLTL3F5VANCNFSM42CVQTMQ .