Prism.languages.racket = Prism.languages.extend('scheme', { 'lambda-parameter': { // the racket lambda syntax is a lot more complex, so we won't even attempt to capture it. // this will just prevent false positives of the `function` pattern pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/, lookbehind: true, }, }); Prism.languages.insertBefore('racket', 'string', { lang: { pattern: /^#lang.+/m, greedy: true, alias: 'keyword', }, }); Prism.languages.rkt = Prism.languages.racket; om Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: c87e0421d2214fac22bccfb3a0106a0f469c99a0 (plain)
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