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.
26 lines
467 B
26 lines
467 B
4 years 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;
|