Exemplo n.º 1
0
def GetCompleter(user_options):
    if not ShouldEnableTernCompleter():
        return None

    return TernCompleter(user_options)
Exemplo n.º 2
0
def GetCompleter( user_options ):
  if ShouldEnableTernCompleter():
    return TernCompleter( user_options )
  if ShouldEnableTypeScriptCompleter():
    return TypeScriptCompleter( user_options )
  return None