Skip to content

Commit

Permalink
Sychonrize modeMap of three versions of sos mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Mar 30, 2018
1 parent 0355e79 commit 8700611
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/sos-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
CodeMirror.registerHelper("hintWords", "sos", hintWords);

var modeMap = {
'run': 'shell',
'sos': null,
'python': {
name: 'python',
version: 3
Expand All @@ -60,13 +60,18 @@
'report': 'markdown',
'pandoc': 'markdown',
'download': 'markdown',
// from kernel named, r, ruby, sas, javascript etc are fine
'markdown': 'markdown',
'ruby': 'ruby',
'sas': 'sas',
'bash': 'shell',
'sh': 'shell',
'run': 'shell',
'javascript': 'javascript',
'typescript': {
name: "javascript",
typescript: true
},
'octave': 'octave',
'matlab': 'octave',
}

Expand Down

0 comments on commit 8700611

Please sign in to comment.