-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathsource.logos.js
More file actions
31 lines (29 loc) · 810 Bytes
/
source.logos.js
File metadata and controls
31 lines (29 loc) · 810 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
28
29
30
31
// This is a TextMate grammar distributed by `starry-night`.
// This grammar is developed at
// <https://github.com/Cykey/Sublime-Logos>
// and licensed `mit`.
// See <https://github.com/wooorm/starry-night> for more info.
/**
* @import {Grammar} from '@wooorm/starry-night'
*/
/** @type {Grammar} */
const grammar = {
dependencies: ['source.c++', 'source.objc'],
extensions: ['.xm', '.xi'],
names: ['logos'],
patterns: [
{
match:
'%(init|hook|subclass|group|class|new|ctor|end|config|orig|log|hookf|dtor|property|c)',
name: 'keyword.source.logos'
},
{
captures: {1: {name: 'keyword.source.logos'}},
match: '%c\\(([A-Za-z$_]+)\\)'
},
{include: 'source.objc'},
{include: 'source.c++'}
],
scopeName: 'source.logos'
}
export default grammar