-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathsource.netlinx.erb.js
More file actions
27 lines (25 loc) · 785 Bytes
/
source.netlinx.erb.js
File metadata and controls
27 lines (25 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This is a TextMate grammar distributed by `starry-night`.
// This grammar is licensed `mit`.
// See <https://github.com/wooorm/starry-night> for more info.
/**
* @import {Grammar} from '@wooorm/starry-night'
*/
/** @type {Grammar} */
const grammar = {
dependencies: ['source.netlinx'],
extensions: ['.axs.erb', '.axi.erb'],
names: ['netlinx+erb'],
patterns: [{include: '#erb'}, {include: 'source.netlinx'}],
repository: {
erb: {
begin: '<%',
beginCaptures: {0: {name: 'punctuation.section.scope.netlinx.erb'}},
end: '%>',
endCaptures: {0: {name: 'punctuation.section.scope.netlinx.erb'}},
name: 'meta.block.netlinx.erb',
patterns: [{include: 'source.ruby'}]
}
},
scopeName: 'source.netlinx.erb'
}
export default grammar