main
Last change
on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
493 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | /*
|
---|
| 2 | Language: Clojure REPL
|
---|
| 3 | Description: Clojure REPL sessions
|
---|
| 4 | Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
|
---|
| 5 | Requires: clojure.js
|
---|
| 6 | Website: https://clojure.org
|
---|
| 7 | Category: lisp
|
---|
| 8 | */
|
---|
| 9 |
|
---|
| 10 | /** @type LanguageFn */
|
---|
| 11 | function clojureRepl(hljs) {
|
---|
| 12 | return {
|
---|
| 13 | name: 'Clojure REPL',
|
---|
| 14 | contains: [
|
---|
| 15 | {
|
---|
| 16 | className: 'meta',
|
---|
| 17 | begin: /^([\w.-]+|\s*#_)?=>/,
|
---|
| 18 | starts: {
|
---|
| 19 | end: /$/,
|
---|
| 20 | subLanguage: 'clojure'
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
| 23 | ]
|
---|
| 24 | };
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | module.exports = clojureRepl;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.