Plugin repeated (#417)

* not repeated decl in file and help

* implemented heashmap for repeated

* sorted scope commands
This commit is contained in:
Fernando Herrera
2021-12-03 14:29:55 +00:00
committed by GitHub
parent a28d38b05f
commit f3c8d35eb7
11 changed files with 127 additions and 94 deletions

View File

@ -23,9 +23,6 @@ use nu_protocol::{
};
use reedline::{Completer, CompletionActionHandler, DefaultPrompt, LineBuffer, Prompt};
#[cfg(feature = "plugin")]
use nu_plugin::plugin::eval_plugin_signatures;
#[cfg(test)]
mod tests;
@ -439,11 +436,6 @@ fn eval_source(
return false;
}
#[cfg(feature = "plugin")]
if let Err(err) = eval_plugin_signatures(&mut working_set) {
report_error(&working_set, &err);
}
(output, working_set.render())
};