add tab completion for unescaped paths
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
b8e22f1b07
commit
f902bd5473
2 changed files with 2 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ impl Completer for CustomCompleter {
|
|||
.expect("current dir bad?");
|
||||
let (tok, is_str, start) = get_token_to_complete(line, pos);
|
||||
let mut sugg = vec![];
|
||||
if !is_str {
|
||||
if !is_str && !tok.contains('/') {
|
||||
let mut offcenter_match = vec![];
|
||||
for sym in &self.0 {
|
||||
if sym.starts_with(tok.as_str()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue