mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 08:47:47 +02:00
...
This commit is contained in:
@@ -43,7 +43,7 @@ func complete_files(prefix string, callback CompleteFilesCallback) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
completion_candidate := path
|
completion_candidate := path
|
||||||
if strings.HasPrefix(completion_candidate, prefix) {
|
if strings.HasPrefix(completion_candidate, prefix) && completion_candidate != prefix {
|
||||||
return callback(completion_candidate, abspath, d)
|
return callback(completion_candidate, abspath, d)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user