A CodeMirror 6 mode for Phix.
- This repo was forked from https://github.com/sachinraja/codemirror-lang-elixir, which was archived.
- Most of the code is from codemirror-mode-elixir, which was not compatible with v6.
- Then quickly updated to phix by petelomax, with no testing or any attempt at packaging.
npm install codemirror-lang-phix @codemirror/language
Treat it the same way as a legacy-modes import:
import { StreamLanguage } from '@codemirror/language'
import { phix } from 'codemirror-lang-phix'
const lang = StreamLanguage.define(phix)