From 66cedf0b3aa4ff4e9b37313ac7a629f4069acf0a Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Sun, 29 Aug 2021 08:40:28 -0500 Subject: [PATCH] Update char_.rs (#3975) added a few more chars and abbreviations --- crates/nu-command/src/commands/strings/char_.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/nu-command/src/commands/strings/char_.rs b/crates/nu-command/src/commands/strings/char_.rs index 681508ec62..75f7bd7f35 100644 --- a/crates/nu-command/src/commands/strings/char_.rs +++ b/crates/nu-command/src/commands/strings/char_.rs @@ -41,8 +41,10 @@ lazy_static! { "right_brace" => '}'.to_string(), "rbrace" => '}'.to_string(), "left_paren" => '('.to_string(), + "lp" => '('.to_string(), "lparen" => '('.to_string(), "right_paren" => ')'.to_string(), + "rp" => ')'.to_string(), "rparen" => ')'.to_string(), "left_bracket" => '['.to_string(), "lbracket" => '['.to_string(), @@ -97,6 +99,8 @@ lazy_static! { "question" => '?'.to_string(), // ? question, q "q" => '?'.to_string(), "colon" => ':'.to_string(), // : colon + "underscore" => '_'.to_string(), + "u" => '_'.to_string(), // This is the unicode section // Unicode names came from https://www.compart.com/en/unicode