diff --git a/python/completers/all/omni_completer.py b/python/completers/all/omni_completer.py index 63bc71bf..77a06e14 100644 --- a/python/completers/all/omni_completer.py +++ b/python/completers/all/omni_completer.py @@ -55,7 +55,7 @@ class OmniCompleter( Completer ): items = vim.eval( ''.join( omnifunc_call ) ) if hasattr( items, 'words' ): - items = item.words + items = items.words self.stored_candidates = filter( bool, items )