@indentier/plugin-coffee
v0.1.1
Published
Indentier plugin for CoffeeScript (.coffee)
Readme
@indentier/plugin-coffee
CoffeeScript support for Indentier.
Full documentation: indentier.github.io
Install
npm i -D indentier @indentier/plugin-coffeeSetup
// .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.
