mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 01:58:16 +00:00
customize completion candidates for some args
This commit is contained in:
parent
fd3335908c
commit
57af9c71ba
4 changed files with 36 additions and 11 deletions
|
@ -107,6 +107,7 @@ impl<C: Parser + Send + Sync + 'static> SqlCompleter<C> {
|
|||
mut line: &str,
|
||||
mut pos: usize,
|
||||
) -> rustyline::Result<(usize, Vec<Pair>)> {
|
||||
// TODO maybe check to see if the line is empty and then just output the command names
|
||||
line = &line[1..];
|
||||
pos = pos - 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue