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.
- Syntax highlighting with
fennel-mode
- Interactive REPL
- More to come…
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 Binding | Description |
---|---|
SPC m \' | Runs Fennel REPL |
SPC m r | Reloads the module in REPL |
SPC m e e | Evaluate the current form |
SPC m e L | Shows compiled Lua |
SPC m e n | Evaluate the current form and go to the next |
SPC m e p | Evaluate the current paragraph |
SPC m e r | Evaluate the currently selected region |
SPC m g g | Jump to definition of symbol |
SPC m g G | Jump to definition of symbol in new window |
SPC h d | Describe a symbol known by the Fennel process |