I tried installing from luarocks and mason in neovim I just get various errors regarding strings When I look in the source the ‘\r’ characters in the fennel source had been converted to ‘^M’. I haven't come across this issue before.
Some examples json-rpc.lua:16 utils.lua:8 utils.lua:10
System details
macOS 14.5
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 mason.nvim version v1.10.0 mason is installing fennel-ls 0.1.2-2
I have tried luarocks 3.11.0 Fennel 1.4.2 on PUC Lua 5.1
Not sure why this is happening. Thanks for letting me know.
I actually think this is a bug in fennel under neovim (print “\r\n”) was trans-compiled to print("\13\n”) and display as ^M when run. I will raise an issue for it.
Issue raised for fennel https://todo.sr.ht/~technomancy/fennel/230