spacemacs/layers/+lang/coffeescript
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
img New layer coffeescript (extracted from javacript layer) 2018-05-13 10:19:48 -04:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
funcs.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
layers.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

CoffeeScript layer

/TakeV/spacemacs/media/branch/develop/layers/+lang/coffeescript/img/coffee.png

Description

This layer adds support for the CoffeeScript language using coffee-mode.

Features:

  • Syntax highlighting
  • Auto-completion with auto-completion layer
  • Syntax checking and linting with syntax-checking layer
  • Org-Babel integration
  • REPL support

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add coffeescript to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Linting

To enable linting, install CoffeeLint with the following command:

  npm install -g coffeelint

Key bindings

Key binding Description
SPC m c c Compile buffer
SPC m c r Compile region
SPC m T c Toggle compile on save

REPL

Key binding Description
SPC m ' Create or go to REPL
SPC m s b Send buffer to REPL
SPC m s i Create or go to REPL
SPC m s l Send line to REPL
SPC m s r send current region to the REPL and stay in buffer