[gnome-builder] rust-analyzer: disable search provider
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rust-analyzer: disable search provider
- Date: Wed, 24 Feb 2021 04:38:26 +0000 (UTC)
commit f33d1dba649e57270f8e0714df1dd5f9eb7ec3c7
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 23 20:38:20 2021 -0800
rust-analyzer: disable search provider
This wasn't enabled previously, and it shouldn't be enabled yet until it
can figure out how to only search when the client has been created
automatically by other services.
Otherwise we risk always starting the service for every project.
Fixes #1404
src/plugins/rust-analyzer/rust-analyzer.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/rust-analyzer/rust-analyzer.c b/src/plugins/rust-analyzer/rust-analyzer.c
index c71a0ff7e..a078254bb 100644
--- a/src/plugins/rust-analyzer/rust-analyzer.c
+++ b/src/plugins/rust-analyzer/rust-analyzer.c
@@ -59,9 +59,11 @@ _rust_analyzer_register_types (PeasObjectModule *module)
peas_object_module_register_extension_type (module,
IDE_TYPE_RENAME_PROVIDER,
RUST_TYPE_ANALYZER_RENAME_PROVIDER);
+#if 0
peas_object_module_register_extension_type (module,
IDE_TYPE_SEARCH_PROVIDER,
RUST_TYPE_ANALYZER_SEARCH_PROVIDER);
+#endif
peas_object_module_register_extension_type (module,
IDE_TYPE_PREFERENCES_ADDIN,
RUST_TYPE_ANALYZER_PREFERENCES_ADDIN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]