Skip to content

Commit

Permalink
fixup! feat(editor): use google-modes for syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Sep 26, 2019
1 parent 1273bab commit e282d1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/executable-code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ import {arrayFrom, getConfigFromElement, insertAfter, READ_ONLY_TAG, replaceWhit
import WebDemoApi from "../webdemo-api";
import TargetPlatform from '../target-platform'
import ExecutableFragment from './executable-fragment';
import '../styles.scss';

globalThis.CodeMirror = CodeMirror;
require('codemirror-grammar-mode');
require('google_modes/dist/kotlin');

import '../styles.scss';

const INITED_ATTRIBUTE_NAME = 'data-kotlin-playground-initialized';
const DEFAULT_INDENT = 4;

Expand Down

0 comments on commit e282d1d

Please sign in to comment.