Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

sachinraja/codemirror-lang-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codemirror-lang-elixir

This repo is archived. Ownership of the codemirror-lang-elixir package has been transferred to https://github.com/livebook-dev/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)