Beispiel #1
0
def GetCompleter(user_options):
    if not ShouldEnableTernCompleter():
        return None

    return TernCompleter(user_options)
Beispiel #2
0
def GetCompleter( user_options ):
  if ShouldEnableTernCompleter():
    return TernCompleter( user_options )
  if ShouldEnableTypeScriptCompleter():
    return TypeScriptCompleter( user_options )
  return None