mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 19:33:47 +01:00
use same completions for use
and overlay use
This commit is contained in:
parent
fd56768fdc
commit
48f29b6332
@ -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 New Issue
Block a user