mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
parent
513186c390
commit
baa50ec9b2
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -10,6 +10,6 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check spelling
|
||||
uses: crate-ci/typos@v1.0.4
|
||||
uses: crate-ci/typos@v1.16.11
|
||||
with:
|
||||
config: ./.github/.typos.toml
|
||||
|
@ -120,7 +120,7 @@ impl Command for SubCommand {
|
||||
result: Some(Value::duration(1_234_567, span)),
|
||||
},
|
||||
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",
|
||||
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(),
|
||||
"markdown" => TableTheme::markdown(),
|
||||
"dots" => TableTheme::dots(),
|
||||
"restructured" => TableTheme::resturctured(),
|
||||
"restructured" => TableTheme::restructured(),
|
||||
"ascii_rounded" => TableTheme::ascii_rounded(),
|
||||
"basic_compact" => TableTheme::basic_compact(),
|
||||
_ => TableTheme::rounded(),
|
||||
|
@ -63,7 +63,7 @@ impl TableTheme {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn resturctured() -> TableTheme {
|
||||
pub fn restructured() -> TableTheme {
|
||||
Self {
|
||||
theme: Style::re_structured_text().into(),
|
||||
full_theme: Style::re_structured_text().into(),
|
||||
|
Loading…
Reference in New Issue
Block a user