mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:35:56 +02:00
Soften restrictions for external parameters (#1277)
* Soften restrictions for external parameters * Add test
This commit is contained in:
@ -1008,8 +1008,7 @@ fn is_boundary(c: Option<char>) -> bool {
|
||||
|
||||
fn is_external_word_char(c: char) -> bool {
|
||||
match c {
|
||||
';' | '|' | '#' | '-' | '"' | '\'' | '$' | '(' | ')' | '[' | ']' | '{' | '}' | '`'
|
||||
| '.' => false,
|
||||
';' | '|' | '"' | '\'' | '$' | '(' | ')' | '[' | ']' | '{' | '}' | '`' => false,
|
||||
other if other.is_whitespace() => false,
|
||||
_ => true,
|
||||
}
|
||||
|
Reference in New Issue
Block a user