mirror of
https://github.com/nushell/nushell.git
synced 2025-05-28 22:07:40 +02:00
# Description This PR fixes #13732. However, I don't think it's a proper fix. 1. It doesn't really show what the problem is. 2. It kind of side-steps the error entirely. I do think the change in span.rs may be valid because I don't think span.end should ever be 0. In the example in 13732 the span end was always 0 and so that made contains_span() return true, which seems like a false positive. The `checked_sub()` in ide.rs kind of just stops it from failing outloud. I'll leave it to smarter folks than me to land this if they think it's worthy.
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.