mirror of https://github.com/helix-editor/helix
* Use a BTreeSet instead of a Vec. `Vec::dedup` only works on consecutive entries so we need a set to deduplicate instead. * Use the `filename` completer as-is in `repeating_filenames` when the input is empty. This makes `:sh cat <cursor here>` for example show all files (same as`:open <cursor here>`). * Refactor `shell` completer in terms of `repeating_filenames` (and inline `get_last_argument` helper) * Remove comment about bash completion scripts. If anything that could be a plugin but we shouldn't be parsing bash in core: any shell can be configured for use in `:sh`. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
build.rs |