You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
493 B
28 lines
493 B
1 month ago
|
/*
|
||
|
Language: Clojure REPL
|
||
|
Description: Clojure REPL sessions
|
||
|
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||
|
Requires: clojure.js
|
||
|
Website: https://clojure.org
|
||
|
Category: lisp
|
||
|
*/
|
||
|
|
||
|
/** @type LanguageFn */
|
||
|
function clojureRepl(hljs) {
|
||
|
return {
|
||
|
name: 'Clojure REPL',
|
||
|
contains: [
|
||
|
{
|
||
|
className: 'meta',
|
||
|
begin: /^([\w.-]+|\s*#_)?=>/,
|
||
|
starts: {
|
||
|
end: /$/,
|
||
|
subLanguage: 'clojure'
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = clojureRepl;
|