 class AtomTernInitializer
 
   disposables: []
-  grammars: ['JavaScript', 'CoffeeScript']
+  grammars: ['JavaScript']
   client: null
   documentationView: null
-  currentProviderIdx: 0
+  currentProviderIdx: false
   activeTextEditor: null
 
   # autocomplete

      console.error 'error', err

  registerEvents: ->
    @disposables.push atom.workspace.onDidOpen (e) =>
      return unless e.item and @isValidEditor(e.item)
      @startServer()

    return true

  setCurrentProvider: ->
    @currentProviderIdx = false
    @activeTextEditor = atom.workspace.getActiveTextEditor()
    return unless @activeTextEditor
    for provider, idx in @providers
