-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGABC.yaml
63 lines (63 loc) · 1.37 KB
/
GABC.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
attributes:
- beginString: '[-:;,.?!\w\s]*(?=[<({}])'
regularExpression: true
characters:
- beginString: ()
- beginString: \([‘,:;?^0-8]+?
endString: \)
regularExpression: true
commands:
- beginString: <
endString: '>'
- beginString: '[{}]'
regularExpression: true
commentDelimiters:
inlineDelimiter: '%'
comments: []
completions: []
extensions:
- keyString: gabc
filenames: []
interpreters: []
keywords: []
metadata:
author: Toinewh Ed.
description: Syntax highlighting for GABC files (Gregorian chant notation code).
distributionURL: https://github.com/Toinewh/CotEditor-GABC
lastModified: '2022-03-10'
license: Same as CotEditor
version: '1.4'
numbers:
- beginString: '[*+†]'
regularExpression: true
outlineMenu:
- beginString: '[a-z0-9-]+(?=:)'
description: Header
- beginString: (?=A\(.+?\)men\.?)
description: Amen
keyString: Amen
- beginString: (\d+)\.(?=[^;])
bold: false
description: Verse
keyString: pars $1
- beginString: (?<=%%)
description: Code
keyString: pars 1
- beginString: <eu>.+$
description: Euouae
keyString: terminatio modi
strings:
- beginString: '['
endString: ']'
types:
- beginString: ;$
regularExpression: true
- beginString: '[a-z0-9-]+:'
ignoreCase: true
regularExpression: true
values:
- beginString: '[\d-_<>!.''~xy#@/sqWrR:z](?=[^()]*\))'
regularExpression: true
variables:
- beginString: (
endString: )