1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/highlight.js/lib/languages/clojure-repl.js

28 lines
493 B
JavaScript
Raw Normal View History

2024-01-16 21:26:16 +08:00
/*
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) {
2023-12-18 13:12:25 +08:00
return {
2024-01-16 21:26:16 +08:00
name: 'Clojure REPL',
2023-12-18 13:12:25 +08:00
contains: [
{
className: 'meta',
begin: /^([\w.-]+|\s*#_)?=>/,
starts: {
end: /$/,
subLanguage: 'clojure'
}
}
]
2024-01-16 21:26:16 +08:00
};
}
module.exports = clojureRepl;