mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
nushell: uncap ide suggestion width
This commit is contained in:
parent
a8cec1de3c
commit
9da7ad1439
1 changed files with 13 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue