]> BookStack Code Mirror - bookstack/commitdiff
Update code.js 2302/head
authornutsflag <redacted>
Fri, 2 Oct 2020 13:14:29 +0000 (15:14 +0200)
committerGitHub <redacted>
Fri, 2 Oct 2020 13:14:29 +0000 (15:14 +0200)
resources/js/services/code.js

index a7dfa587f203dcea41b2c781c36887e0d6b28d82..7d49c50f67bc4d6dc6e4efd56f4d073d91b55f7e 100644 (file)
@@ -26,6 +26,7 @@ import 'codemirror/mode/rust/rust';
 import 'codemirror/mode/shell/shell';
 import 'codemirror/mode/sql/sql';
 import 'codemirror/mode/toml/toml';
+import 'codemirror/mode/vbscript/vbscript';
 import 'codemirror/mode/xml/xml';
 import 'codemirror/mode/yaml/yaml';
 
@@ -84,6 +85,7 @@ const modeMap = {
     bash: 'shell',
     toml: 'toml',
     sql: 'text/x-sql',
+    vbscript: 'vbscript',
     xml: 'xml',
     yaml: 'yaml',
     yml: 'yaml',