Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.29 KB

File metadata and controls

46 lines (32 loc) · 1.29 KB
Indentier

@indentier/plugin-coffee

npm version CI License: MIT

CoffeeScript support for Indentier.

Full documentation: indentier.github.io

Install

npm i -D indentier @indentier/plugin-coffee

Setup

// .indentierrc.json
{
  "plugins": ["@indentier/plugin-coffee"]
}
Language CoffeeScript
Extensions .coffee
Ruby mode Yes — indentation-based end injection (offside rule)

CoffeeScript blocks are delimited by indentation, not braces. In ruby mode this plugin injects end keywords by detecting dedents instead of tracking {/}, and declares end = null at the top so the injected end references stay harmless. Requires indentier ≥ 0.5.0.

License

MIT © otoneko.