]> luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/clojure-repl.js
Initial commit.
[flow-web.git] / static / highlight / languages / clojure-repl.js
1 /*! `clojure-repl` grammar compiled for Highlight.js 11.11.1 */
2 (function(){
3 var hljsGrammar = (function () {
4 'use strict';
5
6 /*
7 Language: Clojure REPL
8 Description: Clojure REPL sessions
9 Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
10 Requires: clojure.js
11 Website: https://clojure.org
12 Category: lisp
13 */
14
15 /** @type LanguageFn */
16 function clojureRepl(hljs) {
17 return {
18 name: 'Clojure REPL',
19 contains: [
20 {
21 className: 'meta.prompt',
22 begin: /^([\w.-]+|\s*#_)?=>/,
23 starts: {
24 end: /$/,
25 subLanguage: 'clojure'
26 }
27 }
28 ]
29 };
30 }
31
32 return clojureRepl;
33
34 })();
35
36 hljs.registerLanguage('clojure-repl', hljsGrammar);
37 })();