mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
use same completions for use
and overlay use
This commit is contained in:
parent
fd56768fdc
commit
48f29b6332
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,9 @@ impl NuCompleter {
|
|||
working_set.get_span_contents(previous_expr.0).to_vec();
|
||||
|
||||
// Completion for .nu files
|
||||
if prev_expr_str == b"use" || prev_expr_str == b"source-env"
|
||||
if prev_expr_str == b"use"
|
||||
|| prev_expr_str == b"overlay use"
|
||||
|| prev_expr_str == b"source-env"
|
||||
{
|
||||
let mut completer =
|
||||
DotNuCompletion::new(self.engine_state.clone());
|
||||
|
|
Loading…
Reference in a new issue