nushell/crates
zc he 3836da0cf1
fix(parser): mixed side effects of different choices in parse_oneof (#14912)
# Description

This PR fixes #14784.

<img width="384" alt="image"
src="https://github.com/user-attachments/assets/aac063a0-645d-4adb-a399-525bdb004999"
/>

Also fixes the related behavior of lsp:

completion won't work in match/else blocks, because:

1. truncation in completion causes unmatched `{`, thus a parse error.
2. the parse error further leads to a state where the whole block
expression marked as garbage

<img width="453" alt="image"
src="https://github.com/user-attachments/assets/aaf86ccc-646e-4b91-bb27-4b1737100ff2"
/>

Related PR: #14856, @tmillr

I don't have any background knowledge of those `propagate_error`,
@sgvictorino you may want to review this.

# User-Facing Changes

# Tests + Formatting

# After Submitting
2025-01-30 06:30:45 -06:00
..
nu_plugin_custom_values Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_example Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_formats Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_gstat Bump git2 from 0.19.0 to 0.20.0 (#14776) 2025-01-08 13:53:02 +00:00
nu_plugin_inc Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_nu_example Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_polars Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu_plugin_python Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_query Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu_plugin_stress_internals Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-cli fix(cli): completion in nested blocks (#14856) 2025-01-30 01:15:38 -05:00
nu-cmd-base Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-cmd-extra Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-cmd-lang Bump shadow-rs from 0.37.0 to 0.38.0 (#14952) 2025-01-29 08:56:27 +08:00
nu-cmd-plugin Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-color-config Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-command Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-derive-value Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-engine Replaced IoError::new calls that still had Span::unknown() (#14968) 2025-01-30 06:20:26 -06:00
nu-explore Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-glob Create nu_glob::is_glob function (#14717) 2025-01-01 19:04:17 -05:00
nu-json Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-lsp fix(completion): DotNuCompletion now completes nu scripts in const $NU_LIB_DIRS (#14955) 2025-01-29 05:54:12 -06:00
nu-parser fix(parser): mixed side effects of different choices in parse_oneof (#14912) 2025-01-30 06:30:45 -06:00
nu-path Use ref-cast crate to remove some unsafe (#14897) 2025-01-26 12:43:45 -08:00
nu-plugin Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-plugin-core Replaced IoError::new calls that still had Span::unknown() (#14968) 2025-01-30 06:20:26 -06:00
nu-plugin-engine Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-plugin-protocol Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-plugin-test-support Refactor I/O Errors (#14927) 2025-01-28 16:03:31 -06:00
nu-pretty-hex Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-protocol Fix cargo doc Warnings (#14948) 2025-01-28 18:09:53 -06:00
nu-std Rename std/core to std/prelude (#14962) 2025-01-29 11:16:12 -05:00
nu-system Replace std::time::Instant with web_time::Instant (#14668) 2024-12-25 16:50:02 +08:00
nu-table Fix #14842 (#14885) 2025-01-22 06:49:25 -06:00
nu-term-grid Bump version to 0.101.1 (#14661) 2024-12-24 23:47:00 +01:00
nu-test-support Improve and fix filesize formatting/display (#14397) 2025-01-22 22:24:51 -08:00
nu-utils Improve and fix filesize formatting/display (#14397) 2025-01-22 22:24:51 -08:00
nuon fix nuon conversions of range values (#14687) 2025-01-07 21:29:39 +01:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.