mirror of
https://github.com/nushell/nushell
synced 2025-01-12 13:19:01 +00:00
parent
513186c390
commit
baa50ec9b2
4 changed files with 4 additions and 4 deletions
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
|
@ -10,6 +10,6 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check spelling
|
- name: Check spelling
|
||||||
uses: crate-ci/typos@v1.0.4
|
uses: crate-ci/typos@v1.16.11
|
||||||
with:
|
with:
|
||||||
config: ./.github/.typos.toml
|
config: ./.github/.typos.toml
|
||||||
|
|
|
@ -120,7 +120,7 @@ impl Command for SubCommand {
|
||||||
result: Some(Value::duration(1_234_567, span)),
|
result: Some(Value::duration(1_234_567, span)),
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Convert a number of an arbitraty unit to duration",
|
description: "Convert a number of an arbitrary unit to duration",
|
||||||
example: "1_234 | into duration --unit ms",
|
example: "1_234 | into duration --unit ms",
|
||||||
result: Some(Value::duration(1_234 * 1_000_000, span)),
|
result: Some(Value::duration(1_234 * 1_000_000, span)),
|
||||||
},
|
},
|
||||||
|
|
|
@ -160,7 +160,7 @@ pub fn load_theme_from_config(config: &Config) -> TableTheme {
|
||||||
"psql" => TableTheme::psql(),
|
"psql" => TableTheme::psql(),
|
||||||
"markdown" => TableTheme::markdown(),
|
"markdown" => TableTheme::markdown(),
|
||||||
"dots" => TableTheme::dots(),
|
"dots" => TableTheme::dots(),
|
||||||
"restructured" => TableTheme::resturctured(),
|
"restructured" => TableTheme::restructured(),
|
||||||
"ascii_rounded" => TableTheme::ascii_rounded(),
|
"ascii_rounded" => TableTheme::ascii_rounded(),
|
||||||
"basic_compact" => TableTheme::basic_compact(),
|
"basic_compact" => TableTheme::basic_compact(),
|
||||||
_ => TableTheme::rounded(),
|
_ => TableTheme::rounded(),
|
||||||
|
|
|
@ -63,7 +63,7 @@ impl TableTheme {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn resturctured() -> TableTheme {
|
pub fn restructured() -> TableTheme {
|
||||||
Self {
|
Self {
|
||||||
theme: Style::re_structured_text().into(),
|
theme: Style::re_structured_text().into(),
|
||||||
full_theme: Style::re_structured_text().into(),
|
full_theme: Style::re_structured_text().into(),
|
||||||
|
|
Loading…
Reference in a new issue