src/Palete/CompletionProvider.vala
authorAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 09:30:40 +0000 (17:30 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 09:30:40 +0000 (17:30 +0800)
src/Palete/CompletionProvider.vala

index 96e76a2..55f7499 100644 (file)
@@ -29,8 +29,8 @@ namespace Palete {
 
                public bool match (SourceCompletionContext context)
                {
-               
-                       return true;
+                       this.fetchMatches(context, out has_matches);
+                       return has_matches;
                }
 
                public List<SourceCompletionItem>? fetchMatches(SourceCompletionContext context, out bool has_matches)