Skip to content

Commit

Permalink
Support arbitrary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Apr 17, 2021
1 parent 1233a82 commit 81636c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ImJoyEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@ export default {
this.cmOptions.mode = {
name: "python"
};
} else{
this.cmOptions.mode = {
name: this.config.lang
};
}
},
async run() {
Expand Down

0 comments on commit 81636c3

Please sign in to comment.