Added experimental Io language from Aether.

This commit is contained in:
Nick Winter 2014-05-26 08:59:48 -07:00
parent ed36dba3f5
commit ec0027043b
3 changed files with 3 additions and 1 deletions

View file

@ -60,7 +60,7 @@ UserSchema = c.object {},
colorConfig: c.object {additionalProperties: c.colorConfig()}
aceConfig: c.object {},
language: {type: 'string', 'default': 'javascript', 'enum': ['javascript', 'coffeescript', 'clojure', 'lua', 'python']}
language: {type: 'string', 'default': 'javascript', 'enum': ['javascript', 'coffeescript', 'clojure', 'lua', 'python', 'io']}
keyBindings: {type: 'string', 'default': 'default', 'enum': ['default', 'vim', 'emacs']}
invisibles: {type: 'boolean', 'default': false}
indentGuides: {type: 'boolean', 'default': false}

View file

@ -35,6 +35,7 @@ module.exports = class EditorConfigModal extends View
{id: 'python', name: 'Python (Experimental)'}
{id: 'clojure', name: 'Clojure (Experimental)'}
{id: 'lua', name: 'Lua (Experimental)'}
{id: 'io', name: 'Io (Experimental)'}
]
c.sessionLanguage = @session.get('codeLanguage') ? @aceConfig.language
c.language = @aceConfig.language

View file

@ -21,6 +21,7 @@ module.exports = class SpellView extends View
'clojure': 'ace/mode/clojure'
'lua': 'ace/mode/lua'
'python': 'ace/mode/python'
'io': 'ace/mode/text'
keyBindings:
'default': null