Skip to content

Spacemacs layer for the Fennel programming language (a lisp that compiles to Lua).

License

Notifications You must be signed in to change notification settings

mitchellw/fennel-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fennel layer

Table of Contents

Description

Adds support for the Fennel programming language.

Disclaimer: Still in progress. I am having mixed results with certain features using the REPL such as the “Find definition of symbol” functionality.

Features:

  • Syntax highlighting with fennel-mode
  • Interactive REPL
  • More to come…

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add fennel to the existing dotspacemacs-configuration-layers list in this file. You will also need fennel installed in your path (see Fennel site).

This layer is currently set up to enable fennel-mode for any .fnl files.

Key bindings

Key BindingDescription
SPC m \'Runs Fennel REPL
SPC m rReloads the module in REPL
SPC m e eEvaluate the current form
SPC m e LShows compiled Lua
SPC m e nEvaluate the current form and go to the next
SPC m e pEvaluate the current paragraph
SPC m e rEvaluate the currently selected region
SPC m g gJump to definition of symbol
SPC m g GJump to definition of symbol in new window
SPC h dDescribe a symbol known by the Fennel process

About

Spacemacs layer for the Fennel programming language (a lisp that compiles to Lua).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published