Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
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;
|