aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/server/src')
-rw-r--r--crates/server/src/main_loop/handlers.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/server/src/main_loop/handlers.rs b/crates/server/src/main_loop/handlers.rs
index e9dc78420..bfdfcb51e 100644
--- a/crates/server/src/main_loop/handlers.rs
+++ b/crates/server/src/main_loop/handlers.rs
@@ -110,10 +110,11 @@ pub fn handle_workspace_symbol(
110 if !all_symbols { 110 if !all_symbols {
111 q.only_types(); 111 q.only_types();
112 } 112 }
113 q.limit(128);
113 q 114 q
114 }; 115 };
115 116
116 for (path, symbol) in world.world_symbols(query).take(128) { 117 for (path, symbol) in world.world_symbols(query) {
117 let line_index = world.file_line_index(path)?; 118 let line_index = world.file_line_index(path)?;
118 let info = SymbolInformation { 119 let info = SymbolInformation {
119 name: symbol.name.to_string(), 120 name: symbol.name.to_string(),