<reponame>Mirzeeyass/coderviewbackend<filename>rooms/static/codemirror-init.js<gh_stars>0(function() {
  window.onload = function() {
    function load(el) {
      CodeMirror.fromTextArea(el, {
        lineNumbers: true,
        autoCloseBrackets: true,
        matchBrackets: true,
        // theme: 'ayu-dark',
      });
    }
    load(document.querySelector('textarea.code-editor'));
  };
})();
