Package Exports
- codemirror-lang-elixir
- codemirror-lang-elixir/package.json
Readme
codemirror-lang-elixir
A CodeMirror 6 mode for elixir. Most of the code is from codemirror-mode-elixir, which was not compatible with v6.
Installation
npm install codemirror-lang-elixir @codemirror/language
Usage
Treat it the same way as a legacy-modes import:
import { StreamLanguage } from '@codemirror/language'
import { elixir } from 'codemirror-lang-elixir'
const lang = StreamLanguage.define(elixir)