[gnome-builder/wip/gtk4-port: 364/736] libide/lsp: use fuzzy match from GtkSourceView




commit 065d93f771e2151e656d9a2cf8b03f90d7531fbf
Author: Christian Hergert <chergert redhat com>
Date:   Sun Apr 3 16:29:54 2022 -0700

    libide/lsp: use fuzzy match from GtkSourceView
    
    We don't need to maintain our own copy anymore now that it's upstream.

 src/libide/lsp/ide-lsp-completion-results.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/lsp/ide-lsp-completion-results.c b/src/libide/lsp/ide-lsp-completion-results.c
index 5a27a75ba..6a8a21c96 100644
--- a/src/libide/lsp/ide-lsp-completion-results.c
+++ b/src/libide/lsp/ide-lsp-completion-results.c
@@ -191,7 +191,7 @@ ide_lsp_completion_results_refilter (IdeLspCompletionResults *self,
       if (!g_variant_lookup (node, "label", "&s", &label))
         continue;
 
-      if (ide_completion_fuzzy_match (label, query, &priority))
+      if (gtk_source_completion_fuzzy_match (label, query, &priority))
         {
           Item item = { .index = index, .priority = priority };
           g_array_append_val (self->items, item);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]