Suggest existing variables on not found (#8902)

This commit is contained in:
sam schick
2023-05-02 11:17:14 -04:00
committed by GitHub
parent 517dc6d39e
commit d45e9671d4
8 changed files with 184 additions and 107 deletions

View File

@ -2,6 +2,7 @@ mod alias;
pub mod ast;
pub mod cli_error;
pub mod config;
mod did_you_mean;
pub mod engine;
mod example;
mod exportable;
@ -24,12 +25,14 @@ mod variable;
pub use alias::*;
pub use cli_error::*;
pub use config::*;
pub use did_you_mean::did_you_mean;
pub use engine::{ENV_VARIABLE_ID, IN_VARIABLE_ID, NU_VARIABLE_ID};
pub use example::*;
pub use exportable::*;
pub use id::*;
pub use lev_distance::levenshtein_distance;
pub use module::*;
pub use parse_error::ParseError;
pub use parse_error::{DidYouMean, ParseError};
pub use pipeline_data::*;
#[cfg(feature = "plugin")]
pub use plugin_signature::*;