#NEWLINE# def on_query_completions( self , view , prefix , locations ) : #NEWLINE# #INDENT# if ( not self . check ( view ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# vid = view . id ( ) #NEWLINE# if ( vid not in self . completions ) : #NEWLINE# #INDENT# sublime . set_timeout_async ( ( lambda : self . loaded_libraries ( view ) ) , 100 ) #NEWLINE# return #NEWLINE# #UNINDENT# completions = [ item for item in self . completions [ vid ] if ( prefix in item [ 1 ] ) ] #NEWLINE# return completions