Fennel syntax support

Describe your feature request
Syntax highlighting and any other support for Fennel (lisp-like language/compiler for Lua)

What problem(s) would this feature solve?
Replit could be used for Fennel development.

Explain what you were trying to do when you came across the problem leading to this feature request
Using Fennel on a Lua/Love2d repl for teaching.

Replit Profile: https://replit.com/@jackpipe

Hi @jackpipe , welcome to the forums!
It appears that Replit doesn’t have an official Fennel template, so it may not support it fully.
There is, however, a community-made template:
Maybe that’s what you’re looking for?

1 Like

Thanks Nate.
OK that’s useful, though I started using Fennel on the Love2d template, which I’ll publish as a template when it’s tidier.

But the problem is with syntax highlighting. I can run the project and it all works, but the code is just black and white. How do I add syntax highlighting for Fennel, tree-sitter or whatever?

Hi @jackpipe !
Can you go to Tools > Settings > Code Intelligence and see if it is on?

1 Like

Does the file end in .lua?

Fennel files end in .fnl

  1. Can you confirm what I said earlier:
    Fennel syntax support - #4 by NateDhaliwal

  2. It is probable that Replit doesn’t support stntax highlighting. But before that, what is the icon of your .fnl file? Is it just a page icon or the logo of Fennel?

Code Intelligence is on, I just don’t think replit has Fennel LSP or syntax support.

Here is my test project: https://replit.com/@jackpipe/fennel-love2d-test#game.fnl

Ah, that’s what I thought. Replit doesn’t support Fennel files at all, you can tell by no icon at the filename at the Files sidebar. It shows the default page icon.
Hope you get your feature!