2017-03-12 00:31:23 +00:00
|
|
|
import 'codemirror/mode/css/css';
|
|
|
|
import 'codemirror/mode/htmlmixed/htmlmixed';
|
|
|
|
import 'codemirror/mode/javascript/javascript';
|
|
|
|
import 'codemirror/mode/go/go';
|
|
|
|
import 'codemirror/mode/shell/shell';
|
|
|
|
import 'codemirror/mode/clike/clike';
|
|
|
|
import 'codemirror/mode/mllike/mllike';
|
|
|
|
import 'codemirror/mode/php/php';
|
|
|
|
import 'codemirror/mode/markdown/markdown';
|
|
|
|
import 'codemirror/mode/python/python';
|
|
|
|
import 'codemirror/mode/ruby/ruby';
|
|
|
|
import 'codemirror/mode/swift/swift';
|
|
|
|
import 'codemirror/addon/display/autorefresh';
|
|
|
|
import 'codemirror/addon/dialog/dialog';
|
|
|
|
import 'codemirror/addon/dialog/dialog.css';
|
|
|
|
import 'codemirror/addon/fold/foldcode';
|
|
|
|
import 'codemirror/addon/fold/foldgutter';
|
|
|
|
import 'codemirror/addon/fold/foldgutter.css';
|
|
|
|
import 'codemirror/addon/fold/brace-fold';
|
|
|
|
import 'codemirror/addon/fold/comment-fold';
|
|
|
|
import 'codemirror/addon/fold/indent-fold';
|
|
|
|
import 'codemirror/addon/fold/xml-fold';
|
|
|
|
import 'codemirror/addon/hint/show-hint';
|
|
|
|
import 'codemirror/addon/hint/show-hint.css';
|
|
|
|
import 'codemirror/addon/search/search';
|
|
|
|
import 'codemirror/addon/search/searchcursor';
|
|
|
|
import 'codemirror/addon/edit/matchbrackets';
|
|
|
|
import 'codemirror/addon/edit/closebrackets';
|
|
|
|
import 'codemirror/addon/search/matchesonscrollbar';
|
|
|
|
import 'codemirror/addon/search/matchesonscrollbar.css';
|
|
|
|
import 'codemirror/addon/selection/active-line';
|
|
|
|
import 'codemirror/addon/selection/selection-pointer';
|
|
|
|
import 'codemirror/addon/display/placeholder';
|
|
|
|
import 'codemirror/addon/lint/lint';
|
|
|
|
import 'codemirror/addon/lint/json-lint';
|
|
|
|
import 'codemirror/addon/lint/lint.css';
|
|
|
|
import 'codemirror/keymap/vim';
|
|
|
|
import 'codemirror/keymap/emacs';
|
|
|
|
import 'codemirror/keymap/sublime';
|
2017-07-25 04:15:24 +00:00
|
|
|
import 'codemirror-graphql/hint';
|
|
|
|
import 'codemirror-graphql/lint';
|
|
|
|
import 'codemirror-graphql/mode';
|
2017-07-25 18:00:30 +00:00
|
|
|
import 'codemirror-graphql/info';
|
|
|
|
import 'codemirror-graphql/jump';
|
2017-03-12 00:31:23 +00:00
|
|
|
import './modes/nunjucks';
|
2017-03-28 22:45:23 +00:00
|
|
|
import './modes/curl';
|
2017-05-23 22:05:31 +00:00
|
|
|
import './extensions/autocomplete';
|
2017-03-12 00:31:23 +00:00
|
|
|
import './extensions/clickable';
|
|
|
|
import './extensions/nunjucks-tags';
|
|
|
|
|
|
|
|
// Make jsonlint available to the jsonlint plugin
|
|
|
|
import {parser as jsonlint} from 'jsonlint';
|
|
|
|
global.jsonlint = jsonlint;
|
2017-04-07 18:10:15 +00:00
|
|
|
|
|
|
|
// CSS
|
|
|
|
import 'codemirror/lib/codemirror.css';
|
|
|
|
import '../../css/editor/index.less';
|