Olical / aniseed

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

One last change to module return macros #92

Closed harrygallagher4 closed 2 years ago

harrygallagher4 commented 2 years ago

My commit message sums it up well. in-scope? basically does the same thing as my hacky (rawget (get-scope) ...) test but I think I trust the Fennel devs more than myself to do scope checking.

commitmsg:

just realized the double-wrapping of the last expression fixes the
earlier issues I ran into with get-scope.
- also replace (sym :*module*) with just mod-sym
Olical commented 2 years ago

Ah neat! I like it 😄 thank you!