Only triggering omni_completer when omnifunc set
This commit is contained in:
parent
0399ec94c8
commit
4000da089d
@ -32,6 +32,12 @@ class OmniCompleter( Completer ):
|
||||
return []
|
||||
|
||||
|
||||
def ShouldUseNowInner( self, start_column ):
|
||||
if not self.omnifunc:
|
||||
return False
|
||||
return super( OmniCompleter, self ).ShouldUseNowInner( start_column )
|
||||
|
||||
|
||||
def CandidatesForQueryAsyncInner( self, query ):
|
||||
if not self.omnifunc:
|
||||
self.stored_candidates = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user