summaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-28 10:55:52 +0000
committerDmitry Sharshakov2021-08-28 10:55:52 +0000
commit5e4da09be264c2d6c16837a5ce81d99f69a584d6 (patch)
tree571b76c956f444b413faf1f3e6d1f665e1314d24 /helix-term
parent890b51b568bcbd8fdbe594f5fcda77d82c18288a (diff)
Don't let picker be too narrow
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 4843b9ed..04cee3db 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -1111,7 +1111,7 @@ impl Component for EditorView {
if let Some(ref vars) = cx.editor.variables {
let mut text = String::new();
let mut height = 0;
- let mut max_len = 0;
+ let mut max_len = 20;
let per_page = 15;
let num_vars = vars.len();