mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 18:47: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 {
|
if $run.exit_code != 0 {
|
||||||
error make {
|
error make {
|
||||||
msg: $run.stderr,
|
msg: $run.stderr
|
||||||
label: {
|
label: {
|
||||||
text: "jc execution failed",
|
text: "jc execution failed"
|
||||||
span: (metadata $arguments).span
|
span: (metadata $arguments).span
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -316,9 +316,18 @@ let menus = [
|
||||||
marker: $env.PROMPT_INDICATOR
|
marker: $env.PROMPT_INDICATOR
|
||||||
type: {
|
type: {
|
||||||
layout: ide
|
layout: ide
|
||||||
border: false
|
min_completion_width: 0
|
||||||
correct_cursor_pos: true
|
max_completion_width: 150
|
||||||
max_completion_height: 25
|
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: {
|
style: {
|
||||||
text: white
|
text: white
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue