aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src')
-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();