Update code.js

This commit is contained in:
nutsflag 2020-10-02 15:14:29 +02:00 committed by GitHub
parent 521a002001
commit 467176ee78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ import 'codemirror/mode/rust/rust';
import 'codemirror/mode/shell/shell'; import 'codemirror/mode/shell/shell';
import 'codemirror/mode/sql/sql'; import 'codemirror/mode/sql/sql';
import 'codemirror/mode/toml/toml'; import 'codemirror/mode/toml/toml';
import 'codemirror/mode/vbscript/vbscript';
import 'codemirror/mode/xml/xml'; import 'codemirror/mode/xml/xml';
import 'codemirror/mode/yaml/yaml'; import 'codemirror/mode/yaml/yaml';
@ -84,6 +85,7 @@ const modeMap = {
bash: 'shell', bash: 'shell',
toml: 'toml', toml: 'toml',
sql: 'text/x-sql', sql: 'text/x-sql',
vbscript: 'vbscript',
xml: 'xml', xml: 'xml',
yaml: 'yaml', yaml: 'yaml',
yml: 'yaml', yml: 'yaml',