@wooorm/starry-night
Version:
Syntax highlighting, like GitHub
25 lines (22 loc) • 746 B
JavaScript
// This is a TextMate grammar distributed by `starry-night`.
// This grammar is developed at
// <https://github.com/elixir-lang/elixir-tmbundle>
// and licensed `apache-2.0`.
// See <https://github.com/wooorm/starry-night> for more info.
/**
* @import {Grammar} from '@wooorm/starry-night'
*/
/** @type {Grammar} */
const grammar = {
dependencies: ['text.elixir', 'text.html.basic'],
extensions: ['.html.eex', '.heex', '.leex'],
injections: {
'R:text.html.elixir meta.tag meta.attribute string.quoted': {
patterns: [{include: 'text.elixir'}]
}
},
names: ['html+eex', 'eex', 'heex', 'leex'],
patterns: [{include: 'text.elixir'}, {include: 'text.html.basic'}],
scopeName: 'text.html.elixir'
}
export default grammar