nushell/crates/nu-completion/src
Tw 4f7b423f36
Support completion when cursor inside an argument (#4023)
* Support completion when cursor inside an argument

Bash supports completion even when cursor is in an argument, this is very useful for some fixup after the initial completion.
Let add this feature as well.

Signed-off-by: Tw <wei.tan@intel.com>

* Add test for when cursor inside an argument

To support test this case, let's also take the position into account.

Signed-off-by: Tw <wei.tan@intel.com>
2021-09-19 17:23:05 +12:00
..
matchers Add general refactorings (#3996) 2021-09-10 10:44:22 +12:00
command.rs Add general refactorings (#3996) 2021-09-10 10:44:22 +12:00
completer.rs Add general refactorings (#3996) 2021-09-10 10:44:22 +12:00
engine.rs Support completion when cursor inside an argument (#4023) 2021-09-19 17:23:05 +12:00
flag.rs Add general refactorings (#3996) 2021-09-10 10:44:22 +12:00
lib.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
path.rs Small fixes and refactors to paths & source command (#3998) 2021-09-12 02:36:14 +03:00
variable.rs Allow environment variables to be hidden (#3950) 2021-08-26 08:15:58 -05:00