From a2c5598a01f09f3fe5797b8dc0cb3f01c5ddaf56 Mon Sep 17 00:00:00 2001 From: ryo246912 Date: Fri, 10 Jan 2025 15:21:51 +0900 Subject: [PATCH] fix: `cargo fmt` --- src/clients/tldr.rs | 3 ++- src/common/shell.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clients/tldr.rs b/src/clients/tldr.rs index 160ab36..97c2b9b 100644 --- a/src/clients/tldr.rs +++ b/src/clients/tldr.rs @@ -7,7 +7,8 @@ lazy_static! { pub static ref NON_VAR_CHARS_REGEX: Regex = Regex::new(r"[^\da-zA-Z_]").expect("Invalid regex"); } -static VERSION_DISCLAIMER: &str = "tldr-c-client (the default one in Homebrew) doesn't support markdown files, so navi can't use it. +static VERSION_DISCLAIMER: &str = + "tldr-c-client (the default one in Homebrew) doesn't support markdown files, so navi can't use it. The recommended client is tealdeer(https://github.com/dbrgn/tealdeer)."; fn convert_tldr_vars(line: &str) -> String { diff --git a/src/common/shell.rs b/src/common/shell.rs index 7e275e7..4c9f15a 100644 --- a/src/common/shell.rs +++ b/src/common/shell.rs @@ -11,7 +11,7 @@ pub enum Shell { Zsh, Fish, Elvish, - Nushell + Nushell, } #[derive(Error, Debug)]