[gnome-builder] vala: raise vala completion priority over words provider.



commit 87598c309484c1a8465f605c0ec5d441cc995147
Author: Christian Hergert <christian hergert me>
Date:   Sun Sep 27 00:15:16 2015 -0700

    vala: raise vala completion priority over words provider.

 .../vala-pack/ide-vala-completion-provider.vala    |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-completion-provider.vala 
b/plugins/vala-pack/ide-vala-completion-provider.vala
index d538a8d..5c310f5 100644
--- a/plugins/vala-pack/ide-vala-completion-provider.vala
+++ b/plugins/vala-pack/ide-vala-completion-provider.vala
@@ -236,6 +236,11 @@ namespace Ide
                {
                        return highlight_full (name, this.last_prefix, true, 1);
                }
+
+               public int get_priority ()
+               {
+                       return 200;
+               }
        }
 
        [CCode (cheader_filename = "gb-string.h", cname = "gb_str_highlight_full")]


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