Skip to content

Commit

Permalink
Merge branch 'main' into update-setting-modal-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodacus committed Dec 8, 2024
2 parents 3cc19d2 + ba29e59 commit 9a4a376
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "commit": "db8c65ec2ba2f28382cb5e792a3f7495fb9a8e03" }
{ "commit": "d9ae9d5afbd0310a976fc4c9aee4b9256edef79a" }
7 changes: 7 additions & 0 deletions app/components/editor/codemirror/languages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { LanguageDescription } from '@codemirror/language';

export const supportedLanguages = [
LanguageDescription.of({
name: 'VUE',
extensions: ['vue'],
async load() {
return import('@codemirror/lang-vue').then((module) => module.vue());
},
}),
LanguageDescription.of({
name: 'TS',
extensions: ['ts'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@codemirror/lang-markdown": "^6.3.1",
"@codemirror/lang-python": "^6.1.6",
"@codemirror/lang-sass": "^6.0.2",
"@codemirror/lang-vue": "^0.1.3",
"@codemirror/lang-wast": "^6.0.2",
"@codemirror/language": "^6.10.6",
"@codemirror/search": "^6.5.8",
Expand Down

0 comments on commit 9a4a376

Please sign in to comment.