diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-22 01:09:42 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-22 01:09:42 +0100 |
| commit | 172feefac8f59bc29025502101c772b2d83435a6 (patch) | |
| tree | 71500211333d491b4690ae7556322eec2fc1d757 | |
| parent | 0e7c110249ba5c5f9e41fb6fb1f2886089d075e6 (diff) | |
Bug fix
| -rw-r--r-- | corfu.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -522,7 +522,7 @@ A scroll bar is displayed from LO to LO+BAR." (defun corfu--move-prefix-candidates-to-front (field candidates) "Move CANDIDATES which match prefix of FIELD to the beginning." - (let* ((word (car (split-string field))) + (let* ((word (replace-regexp-in-string " .*" "" field)) (len (length word))) (corfu--partition! candidates (and (>= (length it) len) |
