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
|
|
@ -165,9 +165,8 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt
|
||||||
- Can pass args to flesh scripts (via command line)
|
- Can pass args to flesh scripts (via command line)
|
||||||
- Can pass args to flesh scripts (via interpreter)
|
- Can pass args to flesh scripts (via interpreter)
|
||||||
- Pipe also operates on stderr
|
- Pipe also operates on stderr
|
||||||
- ~ if possible (string replacement?
|
- ~ if possible (string replacement?)
|
||||||
- tab completion for symbols also attempts to complete binaries
|
- tab completion for symbols also attempts to complete binaries
|
||||||
- tab completion for symbols also attempts to complete paths
|
|
||||||
- finish basic goals in the [[file:snippets/interactive-devel.f][interactive development library]]
|
- finish basic goals in the [[file:snippets/interactive-devel.f][interactive development library]]
|
||||||
- Release CI
|
- Release CI
|
||||||
- Make an icon if you feel like it
|
- Make an icon if you feel like it
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ impl Completer for CustomCompleter {
|
||||||
.expect("current dir bad?");
|
.expect("current dir bad?");
|
||||||
let (tok, is_str, start) = get_token_to_complete(line, pos);
|
let (tok, is_str, start) = get_token_to_complete(line, pos);
|
||||||
let mut sugg = vec![];
|
let mut sugg = vec![];
|
||||||
if !is_str {
|
if !is_str && !tok.contains('/') {
|
||||||
let mut offcenter_match = vec![];
|
let mut offcenter_match = vec![];
|
||||||
for sym in &self.0 {
|
for sym in &self.0 {
|
||||||
if sym.starts_with(tok.as_str()) {
|
if sym.starts_with(tok.as_str()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue