We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f00227 + f625c02 commit d9ae9d5Copy full SHA for d9ae9d5
app/components/editor/codemirror/languages.ts
@@ -1,6 +1,13 @@
1
import { LanguageDescription } from '@codemirror/language';
2
3
export const supportedLanguages = [
4
+ LanguageDescription.of({
5
+ name: 'VUE',
6
+ extensions: ['vue'],
7
+ async load() {
8
+ return import('@codemirror/lang-vue').then((module) => module.vue());
9
+ },
10
+ }),
11
LanguageDescription.of({
12
name: 'TS',
13
extensions: ['ts'],
package.json
@@ -44,6 +44,7 @@
44
"@codemirror/lang-markdown": "^6.3.1",
45
"@codemirror/lang-python": "^6.1.6",
46
"@codemirror/lang-sass": "^6.0.2",
47
+ "@codemirror/lang-vue": "^0.1.3",
48
"@codemirror/lang-wast": "^6.0.2",
49
"@codemirror/language": "^6.10.6",
50
"@codemirror/search": "^6.5.8",
0 commit comments