hotpot.nvim
hotpot.nvim copied to clipboard
`require("fennel")` from `.lua` file breaks `provide_require_fennel` on a macro file
I finally got to reproduce the bug we were talking about: https://github.com/rktjmp/hotpot.nvim/issues/38#issuecomment-927229883.
It seems that requiring Fennel from the init.lua
file breaks the provide_require_fennel
configuration option for the macro files.
How to reproduce
I created this repository to reproduce the issue using Docker: datwaft/hotpot-issue_39.
Btw, executing the following snippet using :Fnl
also reproduces the issue:
(macro test []
(local {: view} (require :fennel))
(print view))
(test)
If you change macro
to fn
it's no longer reproduced.
Seems fixed...