Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.75 KB

README.org

File metadata and controls

45 lines (35 loc) · 1.75 KB

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