From 9da7ad1439d7904ab3daa4c300950e5eafddbfc0 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 18 Jul 2025 21:17:55 +0300 Subject: [PATCH] nushell: uncap ide suggestion width --- modules/common/nushell/config.nu | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/modules/common/nushell/config.nu b/modules/common/nushell/config.nu index 9a28cbf..7b112d5 100644 --- a/modules/common/nushell/config.nu +++ b/modules/common/nushell/config.nu @@ -30,9 +30,9 @@ def --wrapped jc [...arguments]: [any -> table, any -> record, any -> string] { if $run.exit_code != 0 { error make { - msg: $run.stderr, + msg: $run.stderr label: { - text: "jc execution failed", + text: "jc execution failed" span: (metadata $arguments).span } } @@ -316,9 +316,18 @@ let menus = [ marker: $env.PROMPT_INDICATOR type: { layout: ide - border: false - correct_cursor_pos: true + min_completion_width: 0 + max_completion_width: 150 max_completion_height: 25 + padding: 0 + border: false + cursor_offset: 0 + description_mode: "prefer_right" + min_description_width: 0 + max_description_width: 50 + max_description_height: 10 + description_offset: 1 + correct_cursor_pos: true } style: { text: white