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.
25 lines
467 B
25 lines
467 B
/*
|
|
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;
|
|
|