mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 15:13:01 +01:00
Fix a couple crlf issues (#496)
This commit is contained in:
parent
1cbb785969
commit
e9525627e6
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2466,7 +2466,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "reedline"
|
name = "reedline"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = "git+https://github.com/nushell/reedline?branch=main#4da6a82ae6851bd5e4f072381f9fc57ee8813fd2"
|
source = "git+https://github.com/nushell/reedline?branch=main#e512512dd4af9f3aad19c0f045f03b0b1680eb99"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
|
@ -112,7 +112,7 @@ pub fn lex_item(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
in_comment = true;
|
in_comment = true;
|
||||||
} else if c == b'\n' {
|
} else if c == b'\n' || c == b'\r' {
|
||||||
in_comment = false;
|
in_comment = false;
|
||||||
if is_item_terminator(&block_level, c, additional_whitespace, special_tokens) {
|
if is_item_terminator(&block_level, c, additional_whitespace, special_tokens) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user