Skip to content

Releases: Olical/nfnl

v1.3.0

26 Apr 11:01
6bcfdc4

Choose a tag to compare

What's Changed

nfnl will now warn you if there are orphaned .lua files left over from deletions or renames of .fnl files. If you get false positives (by embedding .lua files from another library that include the special [nfnl] header comments) you can ignore them with a Lua pattern or just turn off the automatic check. See the README for documentation on this per-project configuration.

Full Changelog: v1.2.0...v1.3.0

v1.2.0

19 Apr 22:40
9f05512

Choose a tag to compare

Now using Fennel 1.5.3.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

06 Mar 14:24
2358f50

Choose a tag to compare

What's Changed

  • Handle nil result from (find (vim.fn.getcwd)) by @Kamholtz in #29
  • Add doc strings by @russtoku in #34
  • fix: basedir for .nfnl file by @SolaWing in #39
  • fix: clear loaded macro cache so code will use new macro by @SolaWing in #40
  • Improve globbing behavior for single-file compilation by @rf- in #46

New Contributors

Full Changelog: v1.0.0...v1.1.0

Initial release

30 Nov 12:50
b8b1d2e

Choose a tag to compare

This is the initial release! I'll be creating these from time to time even though I push all changes to the main branch, feel free to subscribe to main I'll be doing my best to keep it stable. This feed will just serve as a notice board if and when there are any breaking changes or major announcements. Since I'll be tagging things now though you can use the tags to pin your current version in a more semantic way than using the git sha.

Speaking of which, breaking change! I moved compile-all-files out of nfnl.init and into the new nfnl.api (docs). I'm going to add more functions here and that module will act as the main point to hook your own autocmds and mappings up to, the functions there should be easy to call and should just do the right thing. I hope.

This is off the back of #23, I want to make it easier for you to do some basic Fennel -> Lua printing or evaluation of Fennel files or blocks of code without Conjure. When Conjure support arrives you'll have a log and form based evaluations through nfnl, but for now, some basic hooks should be helpful.

If you were already relying on compile-all-files, please update the module you're requiring from require("nfnl") or require("nfnl.init") to require("nfnl.api"), it won't be moving again in the future, it just didn't make sense to put this in the init module since that's mostly used to set things up. Coupling those two together would probably cause more issues in the future. I hope that's okay and doesn't cause you much trouble.