<reponame>bhavesh-asana/SEAGrid<filename>data-catalog/node_modules/highlight.js/lib/languages/clojure-repl.js<gh_stars>0/*
Language: Clojure REPL
Description: Clojure REPL sessions
Author: Ivan Sagalaev <nnheo@example.com>
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;
