Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports =
type: 'boolean'
default: true
order: 0
title: 'Use Kite-powered Completions'
title: 'Use Kite-powered Completions (macOS only)'
description: '''Kite is a cloud powered autocomplete engine. It provides
significantly more autocomplete suggestions than the local Jedi engine.'''
showDescriptions:
Expand Down Expand Up @@ -213,7 +213,8 @@ module.exports =
activate: (state) ->
@emitter = new Emitter
@provider = require('./provider')
if atom.packages.hasActivatedInitialPackages()
if typeof atom.packages.hasActivatedInitialPackages == 'function' and
atom.packages.hasActivatedInitialPackages()
@load()
else
disposable = atom.packages.onDidActivateInitialPackages =>
Expand Down